improved visualization in admin menu and change model of transcribe
All checks were successful
Deploy FluentGerman.ai / deploy (push) Successful in 50s

This commit is contained in:
2026-02-18 13:15:40 +01:00
parent 35717009e0
commit e6bf7c3d9c
4 changed files with 12 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ async def transcribe(audio_bytes: bytes, filename: str = "audio.webm") -> str:
transcript = await client.audio.transcriptions.create(
model=settings.stt_model,
file=audio_file,
prompt="FluentGerman.ai — German language tutor. Deutsch, Grammatik, Übung, Aussprache.",
)
return transcript.text