Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,7 +189,7 @@ def handle_parse_text(task_text, user_id):
|
|
| 189 |
|
| 190 |
|
| 191 |
def handle_transcribe_voice(audio_path, user_id):
|
| 192 |
-
"""Whisper transcription
|
| 193 |
if audio_path is None:
|
| 194 |
return gr.update(visible=False), _err("No audio recorded.")
|
| 195 |
try:
|
|
|
|
| 189 |
|
| 190 |
|
| 191 |
def handle_transcribe_voice(audio_path, user_id):
|
| 192 |
+
"""Whisper transcription — uses faster-whisper (Python 3.13 compatible)."""
|
| 193 |
if audio_path is None:
|
| 194 |
return gr.update(visible=False), _err("No audio recorded.")
|
| 195 |
try:
|