Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
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=
|
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}")
|