Wauplin HF staff commited on
Commit
53dfdad
·
verified ·
1 Parent(s): af6d0b7

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -0
README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ DDUF file created using https://github.com/huggingface/huggingface_hub/pull/2692:
3
+
4
+ ```py
5
+ from huggingface_hub import snapshot_download, write_dduf_file
6
+
7
+ snapshot_download(
8
+ "CompVis/stable-diffusion-v1-4",
9
+ allow_patterns=["*.json", "*.txt", "*.fp16.safetensors"],
10
+ local_dir="stable-diffusion-v1-4-fp16",
11
+ )
12
+
13
+ write_dduf_file("stable-diffusion-v1-4-FP16.dduf", "stable-diffusion-v1-4-fp16")
14
+ ```