Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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 |
|