hysts HF staff commited on
Commit
59e24b7
1 Parent(s): 027390b
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -475,15 +475,15 @@ with gr.Blocks() as demo_submission:
475
  submit_button = gr.Button("Submit Eval")
476
  submission_result = gr.Markdown()
477
  submit_button.click(
478
- add_new_eval,
479
- [
480
  model_name_textbox,
481
  revision_name_textbox,
482
  precision,
483
  model_type,
484
  add_special_tokens,
485
  ],
486
- submission_result,
487
  )
488
 
489
 
 
475
  submit_button = gr.Button("Submit Eval")
476
  submission_result = gr.Markdown()
477
  submit_button.click(
478
+ fn=add_new_eval,
479
+ inputs=[
480
  model_name_textbox,
481
  revision_name_textbox,
482
  precision,
483
  model_type,
484
  add_special_tokens,
485
  ],
486
+ outputs=submission_result,
487
  )
488
 
489