ylacombe commited on
Commit
7e3e04f
·
1 Parent(s): b6e65e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
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