Update v2_3.py
Browse files
v2_3.py
CHANGED
@@ -358,7 +358,7 @@ if CS_download_task5:
|
|
358 |
f.write(response.content)
|
359 |
|
360 |
# 下载任务6
|
361 |
-
CS_download_task6 =
|
362 |
CS_url6 = "https://civitai.com/api/download/models/17233"
|
363 |
CS_destination_folder6 = f"/bushu/ui/models/Stable-diffusion"
|
364 |
CS_filename6 = "abyssorangemix3AOM3_aom3a1b.safetensors"
|
@@ -491,7 +491,7 @@ if Lora_download_task2:
|
|
491 |
f.write(response.content)
|
492 |
|
493 |
# Lora任务3
|
494 |
-
Lora_download_task3 =
|
495 |
Lora_url3 = "https://civitai.com/api/download/models/52900"
|
496 |
Lora_destination_folder3 = "/bushu/ui/models/Lora"
|
497 |
Lora_filename3 = "cailaiarona-000007.safetensors"
|
@@ -504,7 +504,7 @@ if Lora_download_task3:
|
|
504 |
f.write(response.content)
|
505 |
|
506 |
# Lora任务4
|
507 |
-
Lora_download_task4 =
|
508 |
Lora_url4 = "https://civitai.com/api/download/models/9409"
|
509 |
Lora_destination_folder4 = Lora_destination_folder3
|
510 |
Lora_filename4 = "chara-arona-v1.safetensors"
|
@@ -557,7 +557,7 @@ if VAE_download_task1:
|
|
557 |
file.write(response.content)
|
558 |
|
559 |
# VAE任务2
|
560 |
-
VAE_download_task2 =
|
561 |
VAE_url2 = "https://civitai.com/api/download/models/64133"
|
562 |
VAE_destination_folder2 = "/bushu/ui/models/VAE"
|
563 |
VAE_filename2 = "counterfeit.pt"
|
@@ -569,7 +569,7 @@ if VAE_download_task2:
|
|
569 |
file.write(response.content)
|
570 |
|
571 |
# VAE任务3
|
572 |
-
VAE_download_task3 =
|
573 |
VAE_url3 = "https://civitai.com/api/download/models/80869?type=Model&format=Other"
|
574 |
VAE_destination_folder3 = "/bushu/ui/models/VAE"
|
575 |
VAE_filename3 = "vaeFtMse840000Ema_v100.safetensors"
|
@@ -593,7 +593,7 @@ if VAE_download_task4:
|
|
593 |
file.write(response.content)
|
594 |
|
595 |
# VAE任务5
|
596 |
-
VAE_download_task5 =
|
597 |
VAE_url5 = "https://civitai.com/api/download/models/131654?type=Model&format=SafeTensor"
|
598 |
VAE_destination_folder5 = "/bushu/ui/models/VAE"
|
599 |
VAE_filename5 = "anythingKlF8Anime2VaeFtMse840000_klF8Anime2.safetensors"
|
@@ -605,7 +605,7 @@ if VAE_download_task5:
|
|
605 |
file.write(response.content)
|
606 |
|
607 |
# VAE任务6
|
608 |
-
VAE_download_task6 =
|
609 |
VAE_url6 = "https://civitai.com/api/download/models/88156?type=Model&format=Other"
|
610 |
VAE_destination_folder6 = "/bushu/ui/models/VAE"
|
611 |
VAE_filename6 = "ClearVAE.2.3.pt"
|
@@ -617,7 +617,7 @@ if VAE_download_task6:
|
|
617 |
file.write(response.content)
|
618 |
|
619 |
# VAE任务7
|
620 |
-
VAE_download_task7 =
|
621 |
VAE_url7 = "https://civitai.com/api/download/models/121354?type=Model&format=Other"
|
622 |
VAE_destination_folder7 = "/bushu/ui/models/VAE"
|
623 |
VAE_filename7 = "orangemix_v1.pt"
|
@@ -629,7 +629,7 @@ if VAE_download_task7:
|
|
629 |
file.write(response.content)
|
630 |
|
631 |
# VAE任务8
|
632 |
-
VAE_download_task8 =
|
633 |
VAE_url8 = "https://civitai.com/api/download/models/28569?type=Model&format=Other"
|
634 |
VAE_destination_folder8 = "/bushu/ui/models/VAE"
|
635 |
VAE_filename8 = "klF8Anime2_klF8Anime2VAE.pt"
|
|
|
358 |
f.write(response.content)
|
359 |
|
360 |
# 下载任务6
|
361 |
+
CS_download_task6 = False
|
362 |
CS_url6 = "https://civitai.com/api/download/models/17233"
|
363 |
CS_destination_folder6 = f"/bushu/ui/models/Stable-diffusion"
|
364 |
CS_filename6 = "abyssorangemix3AOM3_aom3a1b.safetensors"
|
|
|
491 |
f.write(response.content)
|
492 |
|
493 |
# Lora任务3
|
494 |
+
Lora_download_task3 = False
|
495 |
Lora_url3 = "https://civitai.com/api/download/models/52900"
|
496 |
Lora_destination_folder3 = "/bushu/ui/models/Lora"
|
497 |
Lora_filename3 = "cailaiarona-000007.safetensors"
|
|
|
504 |
f.write(response.content)
|
505 |
|
506 |
# Lora任务4
|
507 |
+
Lora_download_task4 = False
|
508 |
Lora_url4 = "https://civitai.com/api/download/models/9409"
|
509 |
Lora_destination_folder4 = Lora_destination_folder3
|
510 |
Lora_filename4 = "chara-arona-v1.safetensors"
|
|
|
557 |
file.write(response.content)
|
558 |
|
559 |
# VAE任务2
|
560 |
+
VAE_download_task2 = False
|
561 |
VAE_url2 = "https://civitai.com/api/download/models/64133"
|
562 |
VAE_destination_folder2 = "/bushu/ui/models/VAE"
|
563 |
VAE_filename2 = "counterfeit.pt"
|
|
|
569 |
file.write(response.content)
|
570 |
|
571 |
# VAE任务3
|
572 |
+
VAE_download_task3 = False
|
573 |
VAE_url3 = "https://civitai.com/api/download/models/80869?type=Model&format=Other"
|
574 |
VAE_destination_folder3 = "/bushu/ui/models/VAE"
|
575 |
VAE_filename3 = "vaeFtMse840000Ema_v100.safetensors"
|
|
|
593 |
file.write(response.content)
|
594 |
|
595 |
# VAE任务5
|
596 |
+
VAE_download_task5 = False
|
597 |
VAE_url5 = "https://civitai.com/api/download/models/131654?type=Model&format=SafeTensor"
|
598 |
VAE_destination_folder5 = "/bushu/ui/models/VAE"
|
599 |
VAE_filename5 = "anythingKlF8Anime2VaeFtMse840000_klF8Anime2.safetensors"
|
|
|
605 |
file.write(response.content)
|
606 |
|
607 |
# VAE任务6
|
608 |
+
VAE_download_task6 = False
|
609 |
VAE_url6 = "https://civitai.com/api/download/models/88156?type=Model&format=Other"
|
610 |
VAE_destination_folder6 = "/bushu/ui/models/VAE"
|
611 |
VAE_filename6 = "ClearVAE.2.3.pt"
|
|
|
617 |
file.write(response.content)
|
618 |
|
619 |
# VAE任务7
|
620 |
+
VAE_download_task7 = False
|
621 |
VAE_url7 = "https://civitai.com/api/download/models/121354?type=Model&format=Other"
|
622 |
VAE_destination_folder7 = "/bushu/ui/models/VAE"
|
623 |
VAE_filename7 = "orangemix_v1.pt"
|
|
|
629 |
file.write(response.content)
|
630 |
|
631 |
# VAE任务8
|
632 |
+
VAE_download_task8 = False
|
633 |
VAE_url8 = "https://civitai.com/api/download/models/28569?type=Model&format=Other"
|
634 |
VAE_destination_folder8 = "/bushu/ui/models/VAE"
|
635 |
VAE_filename8 = "klF8Anime2_klF8Anime2VAE.pt"
|