mgyigit commited on
Commit
18ffede
·
verified ·
1 Parent(s): 95a2e58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 plot_path, explanation
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=[plot_output, plot_explanation],
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
  # ------------------------------------------------------------------