Spaces:
Running
on
Zero
Running
on
Zero
app.py
CHANGED
|
@@ -170,10 +170,10 @@ def process_file(file):
|
|
| 170 |
except spaces.zero.gradio.HTMLError as e:
|
| 171 |
print(e)
|
| 172 |
return "Error. GPU quota exceeded. Please return later."
|
| 173 |
-
except gradio.exceptions.Error as e:
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
except Exception as e:
|
| 178 |
print(traceback.format_exc())
|
| 179 |
print(f"Error converting {filepath}: {e}")
|
|
|
|
| 170 |
except spaces.zero.gradio.HTMLError as e:
|
| 171 |
print(e)
|
| 172 |
return "Error. GPU quota exceeded. Please return later."
|
| 173 |
+
# except gradio.exceptions.Error as e:
|
| 174 |
+
# if 'GPU task aborted' in str(e):
|
| 175 |
+
# print(e)
|
| 176 |
+
# return 'GPU task aborted'
|
| 177 |
except Exception as e:
|
| 178 |
print(traceback.format_exc())
|
| 179 |
print(f"Error converting {filepath}: {e}")
|