Jaimodiji commited on
Commit
17a77aa
·
verified ·
1 Parent(s): 9ff3041

Upload entrypoint.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -1
entrypoint.sh CHANGED
@@ -30,7 +30,7 @@ ln -sf data_repo/uploads uploads
30
  if [ -n "$DATASET_REPO_ID" ] && [ -n "$HF_TOKEN" ]; then
31
  (
32
  while true; do
33
- sleep 3600 # Every hour
34
  echo "Performing scheduled backup to HF Datasets..."
35
  python3 hf_sync.py upload
36
  done
 
30
  if [ -n "$DATASET_REPO_ID" ] && [ -n "$HF_TOKEN" ]; then
31
  (
32
  while true; do
33
+ sleep 120 # Every 2 minutes
34
  echo "Performing scheduled backup to HF Datasets..."
35
  python3 hf_sync.py upload
36
  done