fix for models in use

This commit is contained in:
mgallardo 2023-07-25 14:35:46 -04:00
parent 5aac8670c0
commit d788af4741
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,4 @@
.git*
docker
.Dockerfile.swp
/venv/*

View file

@ -1,11 +1,14 @@
version: "3"
services:
libretranslate:
container_name: libretranslate
lt:
container_name: translate
build:
context: .
dockerfile: docker/Dockerfile
args:
with_models: true #activated only for specific models
models: "en,es" #example model English <> Spanish
restart: unless-stopped
ports:
- "5000:5000"