ggoknar
commited on
Commit
•
c6df1a5
1
Parent(s):
10f2f46
warning not required
Browse files
app.py
CHANGED
@@ -336,7 +336,8 @@ def get_voice_streaming(prompt, language, latent_tuple, suffix="0"):
|
|
336 |
api.restart_space(repo_id=repo_id)
|
337 |
else:
|
338 |
print("RuntimeError: non device-side assert error:", str(e))
|
339 |
-
|
|
|
340 |
return None
|
341 |
return None
|
342 |
except:
|
|
|
336 |
api.restart_space(repo_id=repo_id)
|
337 |
else:
|
338 |
print("RuntimeError: non device-side assert error:", str(e))
|
339 |
+
# Does not require warning happens on empty chunk and at end
|
340 |
+
###gr.Warning("Unhandled Exception encounter, please retry in a minute")
|
341 |
return None
|
342 |
return None
|
343 |
except:
|