idolezal commited on
Commit
4a87adf
1 Parent(s): 1c4df3c

Fix minimum

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def process_submission(*inputs):
59
  gr.Info('Submission valid, running local tournament...')
60
 
61
  leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
62
- except (ValueError, gr.Error) as err:
63
  gr.Warning(str(err))
64
  return (
65
  gr.update(value='Pre-submit model', visible=True, interactive=True),
@@ -248,7 +248,6 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
248
  submission_inputs["parameters"] = gr.Number(
249
  label='Parameters (B)',
250
  value=0.1,
251
- minimum=0,
252
  step=0.1,
253
  )
254
 
 
59
  gr.Info('Submission valid, running local tournament...')
60
 
61
  leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
62
+ except ValueError as err:
63
  gr.Warning(str(err))
64
  return (
65
  gr.update(value='Pre-submit model', visible=True, interactive=True),
 
248
  submission_inputs["parameters"] = gr.Number(
249
  label='Parameters (B)',
250
  value=0.1,
 
251
  step=0.1,
252
  )
253