MinghaoNing commited on
Commit
a042d39
·
verified ·
1 Parent(s): 5bfc579

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -2
README.md CHANGED
@@ -31,12 +31,18 @@ size_categories:
31
  pip install huggingface_hub
32
  ```
33
 
34
- Create a python script, and run it:
35
 
36
  ```python
37
  from huggingface_hub import snapshot_download
38
 
39
- path = snapshot_download(repo_id="MinghaoNing/CoInfra", repo_type="dataset")
 
 
 
 
 
 
40
  print("Downloaded to:", path)
41
  ```
42
 
 
31
  pip install huggingface_hub
32
  ```
33
 
34
+ Create a python script in "CoInfra" folder, and run it:
35
 
36
  ```python
37
  from huggingface_hub import snapshot_download
38
 
39
+ path = snapshot_download(
40
+ repo_id="MinghaoNing/CoInfra",
41
+ repo_type="dataset",
42
+ local_dir=".", # <-- download into current folder
43
+ local_dir_use_symlinks=False # <-- ensure actual files are copied
44
+ )
45
+
46
  print("Downloaded to:", path)
47
  ```
48