idolezal commited on
Commit
3d72134
β€’
2 Parent(s): fce75db 55d31fc

Merge remote-tracking branch 'xdolez52/main'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def process_submission(*inputs):
72
  gr.update(visible=False),
73
  gr.update(visible=False),
74
  )
75
- except (TypeError, RuntimeError) as err:
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),