Spaces:
Runtime error
Runtime error
LeoXing1996
commited on
Commit
·
f404d95
1
Parent(s):
0ee6af2
update dreambooth download
Browse files- app-huggingface.py +5 -1
app-huggingface.py
CHANGED
|
@@ -117,7 +117,11 @@ if not LOCAL_DEBUG:
|
|
| 117 |
PIA_PATH = hf_hub_download(repo_id='Leoxing/PIA',
|
| 118 |
filename='pia.ckpt', cache_dir=PIA_PATH)
|
| 119 |
PIA_PATH = '/'.join(PIA_PATH.split('/')[:-1])
|
| 120 |
-
os.system('bash download_bashscripts/2-RcnzCartoon.sh')
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
print(os.listdir(DreamBooth_LoRA_PATH))
|
| 122 |
|
| 123 |
# unet
|
|
|
|
| 117 |
PIA_PATH = hf_hub_download(repo_id='Leoxing/PIA',
|
| 118 |
filename='pia.ckpt', cache_dir=PIA_PATH)
|
| 119 |
PIA_PATH = '/'.join(PIA_PATH.split('/')[:-1])
|
| 120 |
+
# os.system('bash download_bashscripts/2-RcnzCartoon.sh')
|
| 121 |
+
print(os.listdir(DreamBooth_LoRA_PATH))
|
| 122 |
+
hf_hub_download(repo_id='Leoxing/rcnz-backup',
|
| 123 |
+
filename='https://huggingface.co/Leoxing/rcnz-backup/blob/main/rcnzCartoon3d_v20.safetensors',
|
| 124 |
+
cache_dir='models/DreamBooth_LoRA')
|
| 125 |
print(os.listdir(DreamBooth_LoRA_PATH))
|
| 126 |
|
| 127 |
# unet
|