Spaces:
Running
Running
Revert "Try `raise gr.Error()`"
Browse filesThis reverts commit 2cf041ac4cdaf8ed97efd95bcaa24db8434000f1.
app.py
CHANGED
@@ -61,7 +61,6 @@ def process_submission(*inputs):
|
|
61 |
|
62 |
gr.Info('Submission valid, running tournament...')
|
63 |
|
64 |
-
raise gr.Error("It's a try...")
|
65 |
leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
|
66 |
except ValueError as err:
|
67 |
gr.Warning(str(err))
|
|
|
61 |
|
62 |
gr.Info('Submission valid, running tournament...')
|
63 |
|
|
|
64 |
leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
|
65 |
except ValueError as err:
|
66 |
gr.Warning(str(err))
|