Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clean up
Browse files
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 |
|