Jaimodiji commited on
Commit
a1afb28
·
1 Parent(s): 889e058

Upload hf_sync.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. hf_sync.py +1 -1
hf_sync.py CHANGED
@@ -29,7 +29,7 @@ def download():
29
  print(f"Downloading data from {REPO_ID}...")
30
  # hf download REPO_ID --repo-type dataset --local-dir data_repo
31
  # Using --local-dir-use-symlinks False to avoid issues in some environments
32
- success = run_command(["hf", "download", REPO_ID, "--repo-type", "dataset", "--local-dir", "data_repo", "--local-dir-use-symlinks", "False"])
33
  if success:
34
  print("Download successful.")
35
  else:
 
29
  print(f"Downloading data from {REPO_ID}...")
30
  # hf download REPO_ID --repo-type dataset --local-dir data_repo
31
  # Using --local-dir-use-symlinks False to avoid issues in some environments
32
+ success = run_command(["hf", "download", REPO_ID, "--repo-type", "dataset", "--local-dir", "data_repo", ])
33
  if success:
34
  print("Download successful.")
35
  else: