Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -105,21 +105,21 @@ with gr.Blocks() as demo:
|
|
105 |
with gr.Row():
|
106 |
btn1 = gr.Button("Show Average Performance")
|
107 |
img1 = gr.Image(type="filepath")
|
108 |
-
btn1.click(plot_average_scores, outputs=img1)
|
109 |
|
110 |
with gr.Row():
|
111 |
btn2 = gr.Button("Show Task Performance")
|
112 |
img2 = gr.Image(type="filepath")
|
113 |
-
btn2.click(plot_task_performance, outputs=img2)
|
114 |
|
115 |
with gr.Row():
|
116 |
btn3 = gr.Button("Task-Specific Top Models")
|
117 |
img3 = gr.Image(type="filepath")
|
118 |
-
btn3.click(plot_task_specific_top_models, outputs=img3)
|
119 |
|
120 |
with gr.Row():
|
121 |
btn4 = gr.Button("Top 3 Models Per Task")
|
122 |
output4 = gr.Dataframe()
|
123 |
-
btn4.click(top_3_models_per_task, outputs=output4)
|
124 |
|
125 |
demo.launch()
|
|
|
105 |
with gr.Row():
|
106 |
btn1 = gr.Button("Show Average Performance")
|
107 |
img1 = gr.Image(type="filepath")
|
108 |
+
btn1.click(plot_average_scores, inputs=None, outputs=img1)
|
109 |
|
110 |
with gr.Row():
|
111 |
btn2 = gr.Button("Show Task Performance")
|
112 |
img2 = gr.Image(type="filepath")
|
113 |
+
btn2.click(plot_task_performance, inputs=None, outputs=img2)
|
114 |
|
115 |
with gr.Row():
|
116 |
btn3 = gr.Button("Task-Specific Top Models")
|
117 |
img3 = gr.Image(type="filepath")
|
118 |
+
btn3.click(plot_task_specific_top_models, inputs=None, outputs=img3)
|
119 |
|
120 |
with gr.Row():
|
121 |
btn4 = gr.Button("Top 3 Models Per Task")
|
122 |
output4 = gr.Dataframe()
|
123 |
+
btn4.click(top_3_models_per_task, inputs=None, outputs=output4)
|
124 |
|
125 |
demo.launch()
|