From 5492c7a46fbc04b9275f8490c36f63d2746f4292 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Wed, 22 Apr 2026 17:49:29 +0200 Subject: [PATCH] fix: XTTS command braucht 'python -m xtts_api_server' als erstes Arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- xtts/docker-compose.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/xtts/docker-compose.yml b/xtts/docker-compose.yml index 0e25fd9..fbb4418 100644 --- a/xtts/docker-compose.yml +++ b/xtts/docker-compose.yml @@ -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) ───────────