Update app.py
Browse files
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)
|