666
commited on
Commit
•
4ff78eb
1
Parent(s):
84f8c03
Update erciyuan.py
Browse files- erciyuan.py +1 -1
erciyuan.py
CHANGED
@@ -243,7 +243,7 @@ def initLocal():
|
|
243 |
# 如果云盘没有模型
|
244 |
if len(os.listdir(f"{gwb}/models")) == 0:
|
245 |
#下载主模型
|
246 |
-
get_ipython().system(f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://
|
247 |
|
248 |
# 如果云盘Vae模型
|
249 |
if len(os.listdir(f"{gwb}/vae")) == 0:
|
|
|
243 |
# 如果云盘没有模型
|
244 |
if len(os.listdir(f"{gwb}/models")) == 0:
|
245 |
#下载主模型
|
246 |
+
get_ipython().system(f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/coco233/moxing/resolve/main/erciyuan.ckpt -d {wb}/models/Stable-diffusion -o dongman.ckpt')
|
247 |
|
248 |
# 如果云盘Vae模型
|
249 |
if len(os.listdir(f"{gwb}/vae")) == 0:
|