maxidl commited on
Commit
22cc2be
·
1 Parent(s): c95a9da
Files changed (1) hide show
  1. app.py +4 -4
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
- 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}")
 
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}")