Update v2_3.py
Browse files
v2_3.py
CHANGED
@@ -270,6 +270,8 @@ if T2I_:
|
|
270 |
wget.download('https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd15v2.pth', '/bushu/ui/extensions/control/models/t2iadapter_sketch_sd15v2.pth')
|
271 |
wget.download('https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_zoedepth_sd15v1.pth', '/bushu/ui/extensions/control/models/t2iadapter_zoedepth_sd15v1.pth')
|
272 |
|
|
|
|
|
273 |
# 修改文件
|
274 |
with fileinput.FileInput('/bushu/ui/launch.py', inplace=True, backup='.bak') as file:
|
275 |
for line in file:
|
|
|
270 |
wget.download('https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_sketch_sd15v2.pth', '/bushu/ui/extensions/control/models/t2iadapter_sketch_sd15v2.pth')
|
271 |
wget.download('https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/t2iadapter_zoedepth_sd15v1.pth', '/bushu/ui/extensions/control/models/t2iadapter_zoedepth_sd15v1.pth')
|
272 |
|
273 |
+
|
274 |
+
print ("修改启动文件...")
|
275 |
# 修改文件
|
276 |
with fileinput.FileInput('/bushu/ui/launch.py', inplace=True, backup='.bak') as file:
|
277 |
for line in file:
|