SondosMB commited on
Commit
d4929fe
·
verified ·
1 Parent(s): 747c6f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -182,16 +182,19 @@ def load_ground_truth():
182
  Load the ground truth file from a private Hugging Face dataset.
183
  """
184
  try:
 
185
  ground_truth_path = hf_hub_download(
186
  repo_id=GROUND_TRUTH_REPO,
187
  filename="ground_truth.csv",
188
  use_auth_token=HF_TOKEN
189
  )
 
190
  return pd.read_csv(ground_truth_path)
191
  except Exception as e:
192
  print(f"Error loading ground truth: {e}")
193
  return None
194
 
 
195
  def load_leaderboard():
196
  """
197
  Load the leaderboard from a private Hugging Face dataset.
 
182
  Load the ground truth file from a private Hugging Face dataset.
183
  """
184
  try:
185
+ print("Attempting to fetch ground truth...")
186
  ground_truth_path = hf_hub_download(
187
  repo_id=GROUND_TRUTH_REPO,
188
  filename="ground_truth.csv",
189
  use_auth_token=HF_TOKEN
190
  )
191
+ print(f"Ground truth file downloaded to: {ground_truth_path}")
192
  return pd.read_csv(ground_truth_path)
193
  except Exception as e:
194
  print(f"Error loading ground truth: {e}")
195
  return None
196
 
197
+
198
  def load_leaderboard():
199
  """
200
  Load the leaderboard from a private Hugging Face dataset.