djstrong commited on
Commit
abaa5ab
1 Parent(s): 43a76f9

show gated

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -60,7 +60,8 @@ except Exception:
60
 
61
  raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
62
  leaderboard_df = original_df.copy()
63
- leaderboard_df = leaderboard_df[('speakleash' not in leaderboard_df['model_name_for_query']) | ('Bielik' in leaderboard_df['model_name_for_query'])]
 
64
 
65
  (
66
  finished_eval_queue_df,
@@ -219,7 +220,7 @@ with demo:
219
  )
220
  with gr.Row():
221
  deleted_models_visibility = gr.Checkbox(
222
- value=False, label="Show SpeakLeash models", interactive=True
223
  )
224
  with gr.Column(min_width=320):
225
  with gr.Row():
 
60
 
61
  raw_data, original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
62
  leaderboard_df = original_df.copy()
63
+ leaderboard_df = leaderboard_df[leaderboard_df[AutoEvalColumn.still_on_hub.name] == True]
64
+ # leaderboard_df = leaderboard_df[('speakleash' not in leaderboard_df['model_name_for_query']) | ('Bielik' in leaderboard_df['model_name_for_query'])]
65
 
66
  (
67
  finished_eval_queue_df,
 
220
  )
221
  with gr.Row():
222
  deleted_models_visibility = gr.Checkbox(
223
+ value=False, label="Show private/deleted models", interactive=True
224
  )
225
  with gr.Column(min_width=320):
226
  with gr.Row():