Spaces:
Runtime error
Runtime error
Try duration==None
Browse files
app.py
CHANGED
@@ -61,6 +61,13 @@ def process_submission(*inputs):
|
|
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))
|
|
|
61 |
|
62 |
gr.Info('Submission valid, running tournament...')
|
63 |
|
64 |
+
gr.Info("It's a try...", duration=None)
|
65 |
+
gr.Warning("It's a try...", duration=None)
|
66 |
+
try:
|
67 |
+
raise gr.Error("It's a try...", duration=None)
|
68 |
+
except gr.Error:
|
69 |
+
pass
|
70 |
+
|
71 |
leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
|
72 |
except ValueError as err:
|
73 |
gr.Warning(str(err))
|