Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,10 +124,6 @@ def generate_speech(history):
|
|
| 124 |
print(f"Exit due to: Unrecoverable exception caused by language:{language} prompt:{prompt}", flush=True)
|
| 125 |
gr.Warning("Unhandled Exception encounter, please retry in a minute")
|
| 126 |
print("Cuda device-assert Runtime encountered need restart")
|
| 127 |
-
if not DEVICE_ASSERT_DETECTED:
|
| 128 |
-
DEVICE_ASSERT_DETECTED=1
|
| 129 |
-
DEVICE_ASSERT_PROMPT=prompt
|
| 130 |
-
DEVICE_ASSERT_LANG=language
|
| 131 |
|
| 132 |
|
| 133 |
# HF Space specific.. This error is unrecoverable need to restart space
|
|
|
|
| 124 |
print(f"Exit due to: Unrecoverable exception caused by language:{language} prompt:{prompt}", flush=True)
|
| 125 |
gr.Warning("Unhandled Exception encounter, please retry in a minute")
|
| 126 |
print("Cuda device-assert Runtime encountered need restart")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
|
| 128 |
|
| 129 |
# HF Space specific.. This error is unrecoverable need to restart space
|