update:español por defecto
This commit is contained in:
parent
da4c59a0e1
commit
046a5ff369
6 changed files with 381 additions and 119 deletions
|
|
@ -33,7 +33,12 @@ services:
|
|||
- DB_USER=${DB_USER}
|
||||
- DB_PASS=${DB_PASS}
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
# - NEWS_PER_PAGE=20 # opcional
|
||||
# Opcionales UI
|
||||
# - NEWS_PER_PAGE=20
|
||||
# Mostrar traducciones por defecto en la web
|
||||
- WEB_TRANSLATED_DEFAULT=1
|
||||
- DEFAULT_LANG=es
|
||||
- TRANSLATION_PREFERRED_LANGS=es
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
|
@ -75,11 +80,11 @@ services:
|
|||
|
||||
# --- Worker ---
|
||||
- TARGET_LANGS=es
|
||||
- TRANSLATOR_BATCH=4 # 1.3B: más seguro en 12 GB (sube a 4 si ves VRAM libre)
|
||||
- TRANSLATOR_BATCH=4 # estable con 1.3B en 12 GB; ajusta si cambia la VRAM disponible
|
||||
- ENQUEUE=200
|
||||
- TRANSLATOR_SLEEP_IDLE=5
|
||||
|
||||
# Tokens (equilibrio calidad/VRAM)
|
||||
# Tokens (equilibrio calidad/VRAM ~<7GB)
|
||||
- MAX_SRC_TOKENS=512
|
||||
- MAX_NEW_TOKENS=256
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue