Spaces:
Runtime error
Runtime error
Commit
·
1327929
1
Parent(s):
aa9bb98
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,9 +156,6 @@ def process_video(radio, video, target_language, has_closeup_face):
|
|
| 156 |
|
| 157 |
return output_video_path
|
| 158 |
|
| 159 |
-
except RuntimeError as e:
|
| 160 |
-
if "CUDA failed with error device-side assert triggered" in str(e):
|
| 161 |
-
gr.Warning("Unhandled Exception encountered, please retry in a minute")
|
| 162 |
|
| 163 |
def swap(radio):
|
| 164 |
if(radio == "Upload"):
|
|
|
|
| 156 |
|
| 157 |
return output_video_path
|
| 158 |
|
|
|
|
|
|
|
|
|
|
| 159 |
|
| 160 |
def swap(radio):
|
| 161 |
if(radio == "Upload"):
|