improved visualization in admin menu and change model of transcribe
All checks were successful
Deploy FluentGerman.ai / deploy (push) Successful in 50s
All checks were successful
Deploy FluentGerman.ai / deploy (push) Successful in 50s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user