amaye15 commited on
Commit
e8afc94
1 Parent(s): 022365f

define size of push

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def process_and_push_data():
67
 
68
  # Process data using the generator and push it to the hub
69
  ds_processed = Dataset.from_generator(get_data)
70
- ds_processed.push_to_hub(TARGET_REPO)
71
 
72
  logger.info("Data processed and pushed to the hub.")
73
 
 
67
 
68
  # Process data using the generator and push it to the hub
69
  ds_processed = Dataset.from_generator(get_data)
70
+ ds_processed.push_to_hub(TARGET_REPO, max_shard_size="1GB")
71
 
72
  logger.info("Data processed and pushed to the hub.")
73