Update v2_3.py
Browse files
v2_3.py
CHANGED
@@ -159,7 +159,7 @@ extensions_path = "/content/ui/extensions"
|
|
159 |
extensions_to_clone = [
|
160 |
(f"https://github.com/deforum-art/deforum-for-automatic1111-{w}", f"{extensions_path}/deforum-for-automatic1111-{w}"),
|
161 |
(f"https://github.com/deforum-art/sd-{w}-deforum", f"{extensions_path}/sd-{w}-deforum"),
|
162 |
-
(f"https://github.com/butaixianran/
|
163 |
(f"https://github.com/Mikubill/{c}-{w}-controlnet", f"{extensions_path}/{c}-{w}-controlnet"),
|
164 |
(f"https://github.com/fkunn1326/openpose-editor", f"{extensions_path}/openpose-editor"),
|
165 |
(f"https://github.com/camenduru/{a}-{d}-{w}-huggingface", f"{extensions_path}/{a}-{d}-{w}-huggingface"),
|
@@ -321,7 +321,7 @@ for path in [launch_py_path + '.bak', shared_py_path + '.bak']:
|
|
321 |
# 下载任务1
|
322 |
CS_download_task1 = False
|
323 |
CS_url1 = "https://civitai.com/api/download/models/17701"
|
324 |
-
CS_destination_folder1 = f"/content/ui/models/
|
325 |
CS_filename1 = "anypastelAnythingV45_anypastelAnythingV45.safetensors"
|
326 |
CS_target1 = f"{CS_destination_folder1}/{CS_filename1}"
|
327 |
|
@@ -334,7 +334,7 @@ if CS_download_task1:
|
|
334 |
# 下载任务2
|
335 |
CS_download_task2 = False
|
336 |
CS_url2 = "https://civitai.com/api/download/models/26633?type=Model&format=PickleTensor&size=full&fp=fp16"
|
337 |
-
CS_destination_folder2 = f"/content/ui/models/
|
338 |
CS_filename2 = "07CounterfeitV2503_10.ckpt"
|
339 |
CS_target2 = f"{CS_destination_folder2}/{CS_filename2}"
|
340 |
|
@@ -347,7 +347,7 @@ if CS_download_task2:
|
|
347 |
# 下载任务3
|
348 |
CS_download_task3 = True
|
349 |
CS_url3 = "https://civitai.com/api/download/models/90854"
|
350 |
-
CS_destination_folder3 = f"/content/ui/models/
|
351 |
CS_filename3 = "AnythingV5Ink.safetensors"
|
352 |
CS_target3 = f"{CS_destination_folder3}/{CS_filename3}"
|
353 |
|
@@ -360,7 +360,7 @@ if CS_download_task3:
|
|
360 |
# 下载任务4
|
361 |
CS_download_task4 = False
|
362 |
CS_url4 = "https://civitai.com/api/download/models/57618"
|
363 |
-
CS_destination_folder4 = f"/content/ui/models/
|
364 |
CS_filename4 = "CounterfeitV30_v30.safetensors"
|
365 |
CS_target4 = f"{CS_destination_folder4}/{CS_filename4}"
|
366 |
|
@@ -373,7 +373,7 @@ if CS_download_task4:
|
|
373 |
# 下载任务5
|
374 |
CS_download_task5 = False
|
375 |
CS_url5 = "https://civitai.com/api/download/models/1356"
|
376 |
-
CS_destination_folder5 = f"/content/ui/models/
|
377 |
CS_filename5 = "dreamlike10_10.ckpt"
|
378 |
CS_target5 = f"{CS_destination_folder5}/{CS_filename5}"
|
379 |
|
@@ -386,7 +386,7 @@ if CS_download_task5:
|
|
386 |
# 下载任务6
|
387 |
CS_download_task6 = True
|
388 |
CS_url6 = "https://civitai.com/api/download/models/17233"
|
389 |
-
CS_destination_folder6 = f"/content/ui/models/
|
390 |
CS_filename6 = "abyssorangemix3AOM3_aom3a1b.safetensors"
|
391 |
CS_target6 = f"{CS_destination_folder6}/{CS_filename6}"
|
392 |
|
@@ -399,7 +399,7 @@ if CS_download_task6:
|
|
399 |
# 下载任务7
|
400 |
CS_download_task7 = False
|
401 |
CS_url7 = ""
|
402 |
-
CS_destination_folder7 = f"/content/ui/models/
|
403 |
CS_filename7 = ""
|
404 |
CS_target7 = f"{CS_destination_folder7}/{CS_filename7}"
|
405 |
|
@@ -412,7 +412,7 @@ if CS_download_task7:
|
|
412 |
# 下载任务8
|
413 |
CS_download_task8 = False
|
414 |
CS_url8 = ""
|
415 |
-
CS_destination_folder8 = f"/content/ui/models/
|
416 |
CS_filename8 = ""
|
417 |
CS_target8 = f"{CS_destination_folder8}/{CS_filename8}"
|
418 |
|
@@ -425,7 +425,7 @@ if CS_download_task8:
|
|
425 |
# 下载任务9
|
426 |
CS_download_task9 = False
|
427 |
CS_url9 = ""
|
428 |
-
CS_destination_folder9 = f"/content/ui/models/
|
429 |
CS_filename9 = ""
|
430 |
CS_target9 = f"{CS_destination_folder9}/{CS_filename9}"
|
431 |
|
@@ -438,7 +438,7 @@ if CS_download_task9:
|
|
438 |
# 下载任务10
|
439 |
CS_download_task10 = False
|
440 |
CS_url10 = ""
|
441 |
-
CS_destination_folder10 = f"/content/ui/models/
|
442 |
CS_filename10 = ""
|
443 |
CS_target10 = f"{CS_destination_folder10}/{CS_filename10}"
|
444 |
|
@@ -451,7 +451,7 @@ if CS_download_task10:
|
|
451 |
# 下载任务11
|
452 |
CS_download_task11 = False
|
453 |
CS_url11 = ""
|
454 |
-
CS_destination_folder11 = f"/content/ui/models/
|
455 |
CS_filename11 = ""
|
456 |
CS_target11 = f"{CS_destination_folder11}/{CS_filename11}"
|
457 |
|
@@ -464,7 +464,7 @@ if CS_download_task11:
|
|
464 |
# 下载任务12
|
465 |
CS_download_task12 = False
|
466 |
CS_url12 = ""
|
467 |
-
CS_destination_folder12 = f"/content/ui/models/
|
468 |
CS_filename12 = ""
|
469 |
CS_target12 = f"{CS_destination_folder12}/{CS_filename12}"
|
470 |
|
@@ -477,7 +477,7 @@ if CS_download_task12:
|
|
477 |
# 下载任务13
|
478 |
CS_download_task13 = False
|
479 |
CS_url13 = ""
|
480 |
-
CS_destination_folder13 = f"/content/ui/models/
|
481 |
CS_filename13 = ""
|
482 |
CS_target13 = f"{CS_destination_folder13}/{CS_filename13}"
|
483 |
|
|
|
159 |
extensions_to_clone = [
|
160 |
(f"https://github.com/deforum-art/deforum-for-automatic1111-{w}", f"{extensions_path}/deforum-for-automatic1111-{w}"),
|
161 |
(f"https://github.com/deforum-art/sd-{w}-deforum", f"{extensions_path}/sd-{w}-deforum"),
|
162 |
+
(f"https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper", f"{extensions_path}/Stable-Diffusion-Webui-Civitai-Helper"),
|
163 |
(f"https://github.com/Mikubill/{c}-{w}-controlnet", f"{extensions_path}/{c}-{w}-controlnet"),
|
164 |
(f"https://github.com/fkunn1326/openpose-editor", f"{extensions_path}/openpose-editor"),
|
165 |
(f"https://github.com/camenduru/{a}-{d}-{w}-huggingface", f"{extensions_path}/{a}-{d}-{w}-huggingface"),
|
|
|
321 |
# 下载任务1
|
322 |
CS_download_task1 = False
|
323 |
CS_url1 = "https://civitai.com/api/download/models/17701"
|
324 |
+
CS_destination_folder1 = f"/content/ui/models/Stable-diffusion"
|
325 |
CS_filename1 = "anypastelAnythingV45_anypastelAnythingV45.safetensors"
|
326 |
CS_target1 = f"{CS_destination_folder1}/{CS_filename1}"
|
327 |
|
|
|
334 |
# 下载任务2
|
335 |
CS_download_task2 = False
|
336 |
CS_url2 = "https://civitai.com/api/download/models/26633?type=Model&format=PickleTensor&size=full&fp=fp16"
|
337 |
+
CS_destination_folder2 = f"/content/ui/models/Stable-diffusion"
|
338 |
CS_filename2 = "07CounterfeitV2503_10.ckpt"
|
339 |
CS_target2 = f"{CS_destination_folder2}/{CS_filename2}"
|
340 |
|
|
|
347 |
# 下载任务3
|
348 |
CS_download_task3 = True
|
349 |
CS_url3 = "https://civitai.com/api/download/models/90854"
|
350 |
+
CS_destination_folder3 = f"/content/ui/models/Stable-diffusion"
|
351 |
CS_filename3 = "AnythingV5Ink.safetensors"
|
352 |
CS_target3 = f"{CS_destination_folder3}/{CS_filename3}"
|
353 |
|
|
|
360 |
# 下载任务4
|
361 |
CS_download_task4 = False
|
362 |
CS_url4 = "https://civitai.com/api/download/models/57618"
|
363 |
+
CS_destination_folder4 = f"/content/ui/models/Stable-diffusion"
|
364 |
CS_filename4 = "CounterfeitV30_v30.safetensors"
|
365 |
CS_target4 = f"{CS_destination_folder4}/{CS_filename4}"
|
366 |
|
|
|
373 |
# 下载任务5
|
374 |
CS_download_task5 = False
|
375 |
CS_url5 = "https://civitai.com/api/download/models/1356"
|
376 |
+
CS_destination_folder5 = f"/content/ui/models/Stable-diffusion"
|
377 |
CS_filename5 = "dreamlike10_10.ckpt"
|
378 |
CS_target5 = f"{CS_destination_folder5}/{CS_filename5}"
|
379 |
|
|
|
386 |
# 下载任务6
|
387 |
CS_download_task6 = True
|
388 |
CS_url6 = "https://civitai.com/api/download/models/17233"
|
389 |
+
CS_destination_folder6 = f"/content/ui/models/Stable-diffusion"
|
390 |
CS_filename6 = "abyssorangemix3AOM3_aom3a1b.safetensors"
|
391 |
CS_target6 = f"{CS_destination_folder6}/{CS_filename6}"
|
392 |
|
|
|
399 |
# 下载任务7
|
400 |
CS_download_task7 = False
|
401 |
CS_url7 = ""
|
402 |
+
CS_destination_folder7 = f"/content/ui/models/Stable-diffusion"
|
403 |
CS_filename7 = ""
|
404 |
CS_target7 = f"{CS_destination_folder7}/{CS_filename7}"
|
405 |
|
|
|
412 |
# 下载任务8
|
413 |
CS_download_task8 = False
|
414 |
CS_url8 = ""
|
415 |
+
CS_destination_folder8 = f"/content/ui/models/Stable-diffusion"
|
416 |
CS_filename8 = ""
|
417 |
CS_target8 = f"{CS_destination_folder8}/{CS_filename8}"
|
418 |
|
|
|
425 |
# 下载任务9
|
426 |
CS_download_task9 = False
|
427 |
CS_url9 = ""
|
428 |
+
CS_destination_folder9 = f"/content/ui/models/Stable-diffusion"
|
429 |
CS_filename9 = ""
|
430 |
CS_target9 = f"{CS_destination_folder9}/{CS_filename9}"
|
431 |
|
|
|
438 |
# 下载任务10
|
439 |
CS_download_task10 = False
|
440 |
CS_url10 = ""
|
441 |
+
CS_destination_folder10 = f"/content/ui/models/Stable-diffusion"
|
442 |
CS_filename10 = ""
|
443 |
CS_target10 = f"{CS_destination_folder10}/{CS_filename10}"
|
444 |
|
|
|
451 |
# 下载任务11
|
452 |
CS_download_task11 = False
|
453 |
CS_url11 = ""
|
454 |
+
CS_destination_folder11 = f"/content/ui/models/Stable-diffusion"
|
455 |
CS_filename11 = ""
|
456 |
CS_target11 = f"{CS_destination_folder11}/{CS_filename11}"
|
457 |
|
|
|
464 |
# 下载任务12
|
465 |
CS_download_task12 = False
|
466 |
CS_url12 = ""
|
467 |
+
CS_destination_folder12 = f"/content/ui/models/Stable-diffusion"
|
468 |
CS_filename12 = ""
|
469 |
CS_target12 = f"{CS_destination_folder12}/{CS_filename12}"
|
470 |
|
|
|
477 |
# 下载任务13
|
478 |
CS_download_task13 = False
|
479 |
CS_url13 = ""
|
480 |
+
CS_destination_folder13 = f"/content/ui/models/Stable-diffusion"
|
481 |
CS_filename13 = ""
|
482 |
CS_target13 = f"{CS_destination_folder13}/{CS_filename13}"
|
483 |
|