jerryone333 commited on
Commit
3d96f70
1 Parent(s): 7aac740

Create README.md

Browse files

from huggingface_hub import snapshot_download

local_dir = "./dog"
snapshot_download(
"diffusers/dog-example",
local_dir=local_dir, repo_type="dataset",
ignore_patterns=".gitattributes",
)

Files changed (1) hide show
  1. README.md +8 -0
README.md ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import snapshot_download
2
+
3
+ local_dir = "./dog"
4
+ snapshot_download(
5
+ "diffusers/dog-example",
6
+ local_dir=local_dir, repo_type="dataset",
7
+ ignore_patterns=".gitattributes",
8
+ )