mgyigit commited on
Commit
f00be89
·
verified ·
1 Parent(s): 5ecaa1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,7 +88,7 @@ with block:
88
 
89
  # Display the filtered leaderboard
90
  baseline_value = get_baseline_df(method_names, metric_names)
91
- baseline_header = ["method_name"] + metric_names
92
  baseline_datatype = ['markdown'] + ['number'] * len(metric_names)
93
 
94
  data_component = gr.components.Dataframe(
@@ -124,7 +124,7 @@ with block:
124
 
125
  # Larger plot display
126
  with gr.Column(scale=3):
127
- output_plot = gr.Image(label="Plot", height=720) # Set larger height for the plot
128
 
129
  plot_button.click(create_plot, inputs=[method_selector, x_metric_selector, y_metric_selector], outputs=output_plot)
130
 
 
88
 
89
  # Display the filtered leaderboard
90
  baseline_value = get_baseline_df(method_names, metric_names)
91
+ baseline_header = ["method_name"] + metric_names.copy
92
  baseline_datatype = ['markdown'] + ['number'] * len(metric_names)
93
 
94
  data_component = gr.components.Dataframe(
 
124
 
125
  # Larger plot display
126
  with gr.Column(scale=3):
127
+ output_plot = gr.Image(label="Plot", height=735) # Set larger height for the plot
128
 
129
  plot_button.click(create_plot, inputs=[method_selector, x_metric_selector, y_metric_selector], outputs=output_plot)
130