Spaces:
Sleeping
Sleeping
Daniel Amendoeira
commited on
Update tools.py
Browse files
tools.py
CHANGED
@@ -61,7 +61,7 @@ def transcribe_audio(audio_file: str, file_extension: str) -> str:
|
|
61 |
transcription = client.audio.transcriptions.create(
|
62 |
model="whisper-1",
|
63 |
file=audio_content
|
64 |
-
|
65 |
return transcription.text
|
66 |
|
67 |
except Exception as e:
|
|
|
61 |
transcription = client.audio.transcriptions.create(
|
62 |
model="whisper-1",
|
63 |
file=audio_content
|
64 |
+
)
|
65 |
return transcription.text
|
66 |
|
67 |
except Exception as e:
|