idolezal commited on
Commit
d6ac180
β€’
1 Parent(s): 2cf041a

Revert "Try `raise gr.Error()`"

Browse files

This reverts commit 2cf041ac4cdaf8ed97efd95bcaa24db8434000f1.

Files changed (1) hide show
  1. app.py +0 -1
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))