mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix(initializer): do select backends that exist (#2694)
we were not checking if the binary exists before picking these up from the asset dir. Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
bd2f95c130
commit
e591ff2e74
2 changed files with 32 additions and 9 deletions
|
@ -282,6 +282,8 @@ COPY --from=grpc /opt/grpc /usr/local
|
|||
|
||||
# Rebuild with defaults backends
|
||||
WORKDIR /build
|
||||
|
||||
## Build the binary
|
||||
RUN make build
|
||||
|
||||
RUN if [ ! -d "/build/sources/go-piper/piper-phonemize/pi/lib/" ]; then \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue