Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def speech_to_text(audio_path, whisper_model):
|
|
| 51 |
time.sleep(0.5)
|
| 52 |
retry_cnt +=1
|
| 53 |
if retry_cnt == 3:
|
| 54 |
-
|
| 55 |
|
| 56 |
except Exception as e:
|
| 57 |
raise RuntimeError(f'Error Running inference with local model: {e}') from e
|
|
|
|
| 51 |
time.sleep(0.5)
|
| 52 |
retry_cnt +=1
|
| 53 |
if retry_cnt == 3:
|
| 54 |
+
pass
|
| 55 |
|
| 56 |
except Exception as e:
|
| 57 |
raise RuntimeError(f'Error Running inference with local model: {e}') from e
|