Steveeeeeeen HF staff commited on
Commit
a0e43cc
1 Parent(s): 29c846d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ with gr.Blocks(css=LEADERBOARD_CSS) as demo:
147
  elem_id="backend-filter",
148
  multiselect=True # Enable multiple selection
149
  )
150
- device_choices = sorted(whisper_df["Device"].unique().tolist()) if "Device" in whisper_df.columns else ["All"]
151
  device_filter = gr.Dropdown(
152
  choices=device_choices,
153
  value="All",
 
147
  elem_id="backend-filter",
148
  multiselect=True # Enable multiple selection
149
  )
150
+ device_choices = sorted(whisper_df["Device"].unique().tolist())
151
  device_filter = gr.Dropdown(
152
  choices=device_choices,
153
  value="All",