Spaces:
Runtime error
Runtime error
LeoXing1996
commited on
Commit
·
2ba04d8
1
Parent(s):
10ce1a3
revise repo id
Browse files- app-huggingface.py +5 -2
app-huggingface.py
CHANGED
@@ -65,10 +65,13 @@ if not LOCAL_DEBUG:
|
|
65 |
os.makedirs(DreamBooth_LoRA_PATH, exist_ok=True)
|
66 |
os.makedirs(STABLE_DIFFUSION_PATH, exist_ok=True)
|
67 |
|
68 |
-
hf_hub_download(repo_id='Leoxing/PIA',
|
69 |
-
|
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))
|
73 |
|
74 |
# unet
|
|
|
65 |
os.makedirs(DreamBooth_LoRA_PATH, exist_ok=True)
|
66 |
os.makedirs(STABLE_DIFFUSION_PATH, exist_ok=True)
|
67 |
|
68 |
+
PIA_PATH = hf_hub_download(repo_id='Leoxing/PIA',
|
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 |
+
# hf_hub_download(repo_id='frankjoshua/realisticVisionV51_v51VAE',
|
73 |
+
# filename='realisticVisionV51_v51VAE.safetensors',
|
74 |
+
# cache_dir='')
|
75 |
print(os.listdir(DreamBooth_LoRA_PATH))
|
76 |
|
77 |
# unet
|