Spaces:
Runtime error
Runtime error
fix extra bracket
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ def transcribe_audio_file(file_path: str) -> str:
|
|
| 70 |
return json.dumps({"success": True, "transcript": transcript_data})
|
| 71 |
|
| 72 |
except Exception as e:
|
| 73 |
-
return json.dumps({"success": False, "error": str(e)}
|
| 74 |
|
| 75 |
|
| 76 |
@tool
|
|
|
|
| 70 |
return json.dumps({"success": True, "transcript": transcript_data})
|
| 71 |
|
| 72 |
except Exception as e:
|
| 73 |
+
return json.dumps({"success": False, "error": str(e)})
|
| 74 |
|
| 75 |
|
| 76 |
@tool
|