Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -412,7 +412,7 @@ with block:
|
|
412 |
# combine the two method lists, then call the original helper
|
413 |
plot_button.click(
|
414 |
lambda bt, base_sel, user_sel, xm, ym, asp, ds, sm: generate_plot(
|
415 |
-
bt,
|
416 |
(base_sel or []) + (user_sel or []), # merged method list
|
417 |
xm, ym, asp, ds, sm,
|
418 |
),
|
|
|
412 |
# combine the two method lists, then call the original helper
|
413 |
plot_button.click(
|
414 |
lambda bt, base_sel, user_sel, xm, ym, asp, ds, sm: generate_plot(
|
415 |
+
benchmark_type_map.get(bt, bt),
|
416 |
(base_sel or []) + (user_sel or []), # merged method list
|
417 |
xm, ym, asp, ds, sm,
|
418 |
),
|