Spaces:
Running
Running
Catch all exceptions
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def process_submission(*inputs):
|
|
72 |
gr.update(visible=False),
|
73 |
gr.update(visible=False),
|
74 |
)
|
75 |
-
except
|
76 |
gr.Warning(str(err))
|
77 |
return (
|
78 |
gr.update(value='Pre-submit model', visible=True, interactive=True),
|
|
|
72 |
gr.update(visible=False),
|
73 |
gr.update(visible=False),
|
74 |
)
|
75 |
+
except Exception as err:
|
76 |
gr.Warning(str(err))
|
77 |
return (
|
78 |
gr.update(value='Pre-submit model', visible=True, interactive=True),
|