initial_prompt personale + glossario: POST /transcribe accetta prompt e glossary (normalizzazione alias->canonical post-ASR, raw_text/segments[].raw), GET/PUT /glossary con GLOSSARY_FILE, glossary.example.json, --prompt/--carry-initial-prompt in transcribe.py

This commit is contained in:
Matteo Benedetto
2026-08-21 12:55:53 +02:00
parent 87bcbd49b0
commit 0b583ab39d
5 changed files with 200 additions and 25 deletions
+1
View File
@@ -61,6 +61,7 @@ ENV WHISPER_CLI=/app/whisper-cli
ENV MODELS_DIR=/models
ENV STT_PYTHON=python3
ENV HF_HOME=/hf-cache
ENV GLOSSARY_FILE=/glossary/glossary.json
EXPOSE 8883
ENTRYPOINT ["./entrypoint.sh"]