Fabrice-TIERCELIN
commited on
Commit
•
1f33c65
1
Parent(s):
3db2a9a
if type(e).__name__ == 'gradio.exceptions.Error':
Browse files
app.py
CHANGED
@@ -111,6 +111,8 @@ def stage2_process(*args, **kwargs):
|
|
111 |
return restore_in_Xmin(*args, **kwargs)
|
112 |
except Exception as e:
|
113 |
print('Exception of type ' + str(type(e)))
|
|
|
|
|
114 |
raise e
|
115 |
|
116 |
def restore_in_Xmin(
|
|
|
111 |
return restore_in_Xmin(*args, **kwargs)
|
112 |
except Exception as e:
|
113 |
print('Exception of type ' + str(type(e)))
|
114 |
+
if type(e).__name__ == 'gradio.exceptions.Error':
|
115 |
+
print('Exception of name ' + type(e).__name__)
|
116 |
raise e
|
117 |
|
118 |
def restore_in_Xmin(
|