Spaces:
Runtime error
Runtime error
LeoXing1996
commited on
Commit
·
fba1d0c
1
Parent(s):
3317194
revise download API
Browse files- app-huggingface.py +1 -1
app-huggingface.py
CHANGED
@@ -66,7 +66,7 @@ if not LOCAL_DEBUG:
|
|
66 |
os.makedirs(STABLE_DIFFUSION_PATH, exist_ok=True)
|
67 |
|
68 |
hf_hub_download(repo_id='leoxing/PIA-pruned',
|
69 |
-
filename='pia.ckpt',
|
70 |
os.system('bash download_bashscripts/1-RealisticVision.sh')
|
71 |
os.system('bash download_bashscripts/2-RcnzCartoon.sh')
|
72 |
print(os.listdir(DreamBooth_LoRA_PATH))
|
|
|
66 |
os.makedirs(STABLE_DIFFUSION_PATH, exist_ok=True)
|
67 |
|
68 |
hf_hub_download(repo_id='leoxing/PIA-pruned',
|
69 |
+
filename='pia.ckpt', cache_dir=PIA_PATH)
|
70 |
os.system('bash download_bashscripts/1-RealisticVision.sh')
|
71 |
os.system('bash download_bashscripts/2-RcnzCartoon.sh')
|
72 |
print(os.listdir(DreamBooth_LoRA_PATH))
|