Howieeeee commited on
Commit
4b17165
·
verified ·
1 Parent(s): 503dd68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def add_new_eval(
107
  submission_repo.push_to_hub()
108
  print("success update", model_name)
109
  return gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)
110
- except:
111
  # get the full traceback as a string
112
  tb = traceback.format_exc()
113
  # log it to the console (optional)
 
107
  submission_repo.push_to_hub()
108
  print("success update", model_name)
109
  return gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)
110
+ except Exception as e::
111
  # get the full traceback as a string
112
  tb = traceback.format_exc()
113
  # log it to the console (optional)