Quentin Gallouédec commited on
Commit
080bb3a
1 Parent(s): d73d1b1

add missing `dataset.add_item(row)`

Browse files
Files changed (1) hide show
  1. src/backend.py +1 -0
src/backend.py CHANGED
@@ -562,6 +562,7 @@ def _backend_routine():
562
 
563
  # load the last version of the dataset
564
  dataset = load_dataset(RESULTS_REPO, split="train", download_mode="force_redownload", verification_mode="no_checks")
 
565
  dataset.push_to_hub(RESULTS_REPO, split="train", token=API.token)
566
  time.sleep(60) # Sleep for 1 minute to avoid rate limiting
567
 
 
562
 
563
  # load the last version of the dataset
564
  dataset = load_dataset(RESULTS_REPO, split="train", download_mode="force_redownload", verification_mode="no_checks")
565
+ dataset.add_item(row)
566
  dataset.push_to_hub(RESULTS_REPO, split="train", token=API.token)
567
  time.sleep(60) # Sleep for 1 minute to avoid rate limiting
568