Danielrahmai1991 commited on
Commit
7ddec46
·
verified ·
1 Parent(s): a6d6f2f

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -32,7 +32,7 @@ def update_db_hub(texts, topics, dates):
32
 
33
  # Push the updated dataset back to the hub
34
  try:
35
- updated_dataset.push_to_hub(dataset_name, private=True) # Set private=False if it's not private
36
  print(f"Updated dataset pushed to the Hugging Face Hub: {dataset_name}")
37
  except Exception as e:
38
  print(f"Failed to push dataset: {e}")
 
32
 
33
  # Push the updated dataset back to the hub
34
  try:
35
+ updated_dataset.push_to_hub(dataset_name, private=False) # Set private=False if it's not private
36
  print(f"Updated dataset pushed to the Hugging Face Hub: {dataset_name}")
37
  except Exception as e:
38
  print(f"Failed to push dataset: {e}")