Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def generate_plot_and_explanation(benchmark_type, methods_selected, x_metric, y_
|
|
130 |
single_metric,
|
131 |
)
|
132 |
explanation = get_plot_explanation(benchmark_type, x_metric, y_metric, aspect, dataset, single_metric)
|
133 |
-
return
|
134 |
|
135 |
# ---------------------------------------------------------------------------
|
136 |
# Custom CSS for frozen first column and clearer table styles
|
@@ -308,7 +308,7 @@ with block:
|
|
308 |
vis_dataset_selector,
|
309 |
vis_single_metric_selector,
|
310 |
],
|
311 |
-
outputs=[
|
312 |
)
|
313 |
|
314 |
# ------------------------------------------------------------------
|
|
|
130 |
single_metric,
|
131 |
)
|
132 |
explanation = get_plot_explanation(benchmark_type, x_metric, y_metric, aspect, dataset, single_metric)
|
133 |
+
return explanation, plot_path
|
134 |
|
135 |
# ---------------------------------------------------------------------------
|
136 |
# Custom CSS for frozen first column and clearer table styles
|
|
|
308 |
vis_dataset_selector,
|
309 |
vis_single_metric_selector,
|
310 |
],
|
311 |
+
outputs=[plot_explanation, plot_output],
|
312 |
)
|
313 |
|
314 |
# ------------------------------------------------------------------
|