Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -234,25 +234,25 @@ with gr.Blocks() as demo:
|
|
| 234 |
|
| 235 |
with gr.Row():
|
| 236 |
btn1 = gr.Button("Show Average Performance")
|
| 237 |
-
img1 = gr.Image(type="pil", label="Average Performance Plot"
|
| 238 |
img1_download = gr.File(label="Download Average Performance")
|
| 239 |
btn1.click(plot_average_scores, outputs=[img1,img1_download])
|
| 240 |
|
| 241 |
with gr.Row():
|
| 242 |
btn2 = gr.Button("Show Task Performance")
|
| 243 |
-
img2 = gr.Image(type="pil", label="Task Performance Plot"
|
| 244 |
img2_download = gr.File(label="Download Task Performance")
|
| 245 |
btn2.click(plot_task_performance, outputs=[img2, img2_download])
|
| 246 |
|
| 247 |
with gr.Row():
|
| 248 |
btn3 = gr.Button("Task-Specific Top Models")
|
| 249 |
-
img3 = gr.Image(type="pil", label="Task-Specific Top Models Plot"
|
| 250 |
img3_download = gr.File(label="Download Top Models")
|
| 251 |
btn3.click(plot_task_specific_top_models, outputs=[img3, img3_download])
|
| 252 |
|
| 253 |
with gr.Row():
|
| 254 |
btn4 = gr.Button("Plot Performance Heatmap")
|
| 255 |
-
heatmap_img = gr.Image(type="pil", label="Performance Heatmap"
|
| 256 |
heatmap_download = gr.File(label="Download Heatmap")
|
| 257 |
btn4.click(plot_heatmap, outputs=[heatmap_img, heatmap_download])
|
| 258 |
|
|
|
|
| 234 |
|
| 235 |
with gr.Row():
|
| 236 |
btn1 = gr.Button("Show Average Performance")
|
| 237 |
+
img1 = gr.Image(type="pil", label="Average Performance Plot")
|
| 238 |
img1_download = gr.File(label="Download Average Performance")
|
| 239 |
btn1.click(plot_average_scores, outputs=[img1,img1_download])
|
| 240 |
|
| 241 |
with gr.Row():
|
| 242 |
btn2 = gr.Button("Show Task Performance")
|
| 243 |
+
img2 = gr.Image(type="pil", label="Task Performance Plot")
|
| 244 |
img2_download = gr.File(label="Download Task Performance")
|
| 245 |
btn2.click(plot_task_performance, outputs=[img2, img2_download])
|
| 246 |
|
| 247 |
with gr.Row():
|
| 248 |
btn3 = gr.Button("Task-Specific Top Models")
|
| 249 |
+
img3 = gr.Image(type="pil", label="Task-Specific Top Models Plot")
|
| 250 |
img3_download = gr.File(label="Download Top Models")
|
| 251 |
btn3.click(plot_task_specific_top_models, outputs=[img3, img3_download])
|
| 252 |
|
| 253 |
with gr.Row():
|
| 254 |
btn4 = gr.Button("Plot Performance Heatmap")
|
| 255 |
+
heatmap_img = gr.Image(type="pil", label="Performance Heatmap")
|
| 256 |
heatmap_download = gr.File(label="Download Heatmap")
|
| 257 |
btn4.click(plot_heatmap, outputs=[heatmap_img, heatmap_download])
|
| 258 |
|