bump-up-huggingface-hub

#991
by alozowski HF staff - opened
Files changed (3) hide show
  1. app.py +0 -6
  2. pyproject.toml +1 -1
  3. requirements.txt +1 -1
app.py CHANGED
@@ -184,12 +184,6 @@ LEADERBOARD_DF, eval_queue_dfs = init_space()
184
  finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df = eval_queue_dfs
185
 
186
 
187
- # Function to check if a user is logged in
188
- def check_login(profile: gr.OAuthProfile | None) -> bool:
189
- if profile is None:
190
- return False
191
- return True
192
-
193
  def init_leaderboard(dataframe):
194
  if dataframe is None or dataframe.empty:
195
  raise ValueError("Leaderboard DataFrame is empty or None.")
 
184
  finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df = eval_queue_dfs
185
 
186
 
 
 
 
 
 
 
187
  def init_leaderboard(dataframe):
188
  if dataframe is None or dataframe.empty:
189
  raise ValueError("Leaderboard DataFrame is empty or None.")
pyproject.toml CHANGED
@@ -11,7 +11,7 @@ dependencies = [
11
  "black>=24.8.0",
12
  "click>=8.1.7",
13
  "datasets>=3.0.0",
14
- "huggingface-hub>=0.24.7",
15
  "pandas>=2.2.2",
16
  "python-dateutil>=2.9.0",
17
  "sentencepiece>=0.2.0",
 
11
  "black>=24.8.0",
12
  "click>=8.1.7",
13
  "datasets>=3.0.0",
14
+ "huggingface-hub>=0.26.0rc0",
15
  "pandas>=2.2.2",
16
  "python-dateutil>=2.9.0",
17
  "sentencepiece>=0.2.0",
requirements.txt CHANGED
@@ -2,7 +2,7 @@ APScheduler==3.10.4
2
  black==24.8.0
3
  click==8.1.7
4
  datasets==3.0.0
5
- huggingface-hub>=0.24.7
6
  pandas==2.2.2
7
  python-dateutil==2.9.0
8
  sentencepiece==0.2.0
 
2
  black==24.8.0
3
  click==8.1.7
4
  datasets==3.0.0
5
+ huggingface-hub>=0.26.0rc0
6
  pandas==2.2.2
7
  python-dateutil==2.9.0
8
  sentencepiece==0.2.0