Jofthomas commited on
Commit
1d55a38
·
verified ·
1 Parent(s): 8c53fa9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -379,7 +379,7 @@ def update_huggingface_dataset(username: str, score: float):
379
 
380
  updated_ds = DatasetDict({'train': Dataset.from_pandas(df)})
381
  logger.info(f"Dataset to push: {updated_ds}") # Log the dataset structure
382
- # updated_ds.push_to_hub(HF_DATASET_ID) # Uncomment this line to enable leaderboard updates
383
  logger.warning("Dataset push to hub is currently commented out. Uncomment the line above to enable leaderboard updates.") # REMINDER
384
  logger.info("Dataset push simulated/attempted.")
385
  return True
 
379
 
380
  updated_ds = DatasetDict({'train': Dataset.from_pandas(df)})
381
  logger.info(f"Dataset to push: {updated_ds}") # Log the dataset structure
382
+ updated_ds.push_to_hub(HF_DATASET_ID) # Uncomment this line to enable leaderboard updates
383
  logger.warning("Dataset push to hub is currently commented out. Uncomment the line above to enable leaderboard updates.") # REMINDER
384
  logger.info("Dataset push simulated/attempted.")
385
  return True