mgyigit commited on
Commit
013f253
·
verified ·
1 Parent(s): d2820c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ with block:
157
  return gr.update(choices=metric_names, value=metric_names[0]), gr.update(choices=metric_names, value=metric_names[1])
158
  elif benchmark_type in benchmark_specific_metrics:
159
  metrics = benchmark_specific_metrics[benchmark_type]
160
- return gr.update(choices=metrics, value=metrics[0]), gr.update(choices=metrics[1])
161
  return gr.update(choices=[]), gr.update(choices=[])
162
 
163
  benchmark_type_selector.change(
 
157
  return gr.update(choices=metric_names, value=metric_names[0]), gr.update(choices=metric_names, value=metric_names[1])
158
  elif benchmark_type in benchmark_specific_metrics:
159
  metrics = benchmark_specific_metrics[benchmark_type]
160
+ return gr.update(choices=metrics, value=metrics[0]), gr.update(choices=metrics)
161
  return gr.update(choices=[]), gr.update(choices=[])
162
 
163
  benchmark_type_selector.change(