fix: XTTS command braucht 'python -m xtts_api_server' als erstes Arg
NVIDIA-Entrypoint fuehrt 'exec \$@' aus — erstes Arg muss ein
ausfuehrbares sein. Nur Flags zu geben ('--listen') fuehrt zu
'exec: --: invalid option'.
Fix: command=['python','-m','xtts_api_server','-ms','local',...]
Damit wird der xtts_api_server Python-Modul gestartet und im
local-Mode konfiguriert.
Ob die Flag-Namen exakt stimmen (-hs/-p/-ms/-o/-mf/-sf) — falls
nicht, poppt ein klarer Python-Fehler im Log.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4cbe184faa
commit
5492c7a46f
|
|
@ -36,12 +36,24 @@ services:
|
|||
# Local-Modus: Modell bleibt dauerhaft im GPU-VRAM (~2GB). Vorteile:
|
||||
# - Render startet sofort (kein reload pro Request)
|
||||
# - /tts_stream funktioniert → echtes Streaming mit ~500ms time-to-first-audio
|
||||
# Ohne diesen command: apiManual-Modus, jede Anfrage lädt Modell neu, kein Streaming.
|
||||
command: ["--listen", "-p", "8020", "-t", "http://0.0.0.0:8020",
|
||||
"-ms", "local",
|
||||
"-o", "/app/output",
|
||||
"-mf", "/app/xtts_models",
|
||||
"-sf", "/voices"]
|
||||
# Ohne diesen command: apiManual-Modus, jede Anfrage laedt Modell neu, kein Streaming.
|
||||
# Der NVIDIA-Entrypoint erwartet Python als ausfuehrbares Command, nicht nur Flags.
|
||||
command:
|
||||
- python
|
||||
- -m
|
||||
- xtts_api_server
|
||||
- -hs
|
||||
- "0.0.0.0"
|
||||
- -p
|
||||
- "8020"
|
||||
- -ms
|
||||
- local
|
||||
- -o
|
||||
- /app/output
|
||||
- -mf
|
||||
- /app/xtts_models
|
||||
- -sf
|
||||
- /voices
|
||||
restart: unless-stopped
|
||||
|
||||
# ─── XTTS Bridge (verbindet zu RVS) ───────────
|
||||
|
|
|
|||
Loading…
Reference in New Issue