Spaces:
Running
on
Zero
Running
on
Zero
Update constants.py
Browse files- constants.py +15 -14
constants.py
CHANGED
@@ -4,6 +4,7 @@ from stablepy import (
|
|
4 |
scheduler_names,
|
5 |
SD15_TASKS,
|
6 |
SDXL_TASKS,
|
|
|
7 |
)
|
8 |
|
9 |
# - **Download Models**
|
@@ -43,12 +44,17 @@ LOAD_DIFFUSERS_FORMAT_MODEL = [
|
|
43 |
'John6666/ntr-mix-illustrious-xl-noob-xl-ntrmix35-sdxl',
|
44 |
'John6666/ntr-mix-illustrious-xl-noob-xl-v777-sdxl',
|
45 |
'John6666/ntr-mix-illustrious-xl-noob-xl-v777forlora-sdxl',
|
|
|
|
|
46 |
'John6666/haruki-mix-illustrious-v10-sdxl',
|
47 |
'John6666/noobreal-v10-sdxl',
|
48 |
'John6666/complicated-noobai-merge-vprediction-sdxl',
|
|
|
|
|
49 |
'Laxhar/noobai-XL-Vpred-0.65s',
|
50 |
'Laxhar/noobai-XL-Vpred-0.65',
|
51 |
'Laxhar/noobai-XL-Vpred-0.6',
|
|
|
52 |
'John6666/noobai-xl-nai-xl-vpred05version-sdxl',
|
53 |
'John6666/noobai-fusion2-vpred-itercomp-v1-sdxl',
|
54 |
'John6666/noobai-xl-nai-xl-vpredtestversion-sdxl',
|
@@ -58,6 +64,7 @@ LOAD_DIFFUSERS_FORMAT_MODEL = [
|
|
58 |
'John6666/illustrious-pencil-xl-v200-sdxl',
|
59 |
'John6666/obsession-illustriousxl-v21-sdxl',
|
60 |
'John6666/obsession-illustriousxl-v30-sdxl',
|
|
|
61 |
'John6666/wai-nsfw-illustrious-v70-sdxl',
|
62 |
'John6666/illustrious-pony-mix-v3-sdxl',
|
63 |
'John6666/nova-anime-xl-illustriousv10-sdxl',
|
@@ -156,6 +163,7 @@ DIRECTORY_MODELS = 'models'
|
|
156 |
DIRECTORY_LORAS = 'loras'
|
157 |
DIRECTORY_VAES = 'vaes'
|
158 |
DIRECTORY_EMBEDS = 'embedings'
|
|
|
159 |
|
160 |
CACHE_HF = "/home/user/.cache/huggingface/hub/"
|
161 |
STORAGE_ROOT = "/home/user/"
|
@@ -190,21 +198,14 @@ TASK_MODEL_LIST = list(TASK_STABLEPY.keys())
|
|
190 |
|
191 |
UPSCALER_DICT_GUI = {
|
192 |
None: None,
|
193 |
-
"
|
194 |
-
"
|
195 |
-
'Latent': 'Latent',
|
196 |
-
'Latent (antialiased)': 'Latent (antialiased)',
|
197 |
-
'Latent (bicubic)': 'Latent (bicubic)',
|
198 |
-
'Latent (bicubic antialiased)': 'Latent (bicubic antialiased)',
|
199 |
-
'Latent (nearest)': 'Latent (nearest)',
|
200 |
-
'Latent (nearest-exact)': 'Latent (nearest-exact)',
|
201 |
-
"RealESRGAN_x4plus": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth",
|
202 |
"RealESRNet_x4plus": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/RealESRNet_x4plus.pth",
|
203 |
-
"RealESRGAN_x4plus_anime_6B": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth",
|
204 |
-
"RealESRGAN_x2plus": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth",
|
205 |
-
"realesr-animevideov3": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-animevideov3.pth",
|
206 |
-
"realesr-general-x4v3": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth",
|
207 |
-
"realesr-general-wdn-x4v3": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth",
|
208 |
"4x-UltraSharp": "https://huggingface.co/Shandypur/ESRGAN-4x-UltraSharp/resolve/main/4x-UltraSharp.pth",
|
209 |
"4x_foolhardy_Remacri": "https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth",
|
210 |
"Remacri4xExtraSmoother": "https://huggingface.co/hollowstrawberry/upscalers-backup/resolve/main/ESRGAN/Remacri%204x%20ExtraSmoother.pth",
|
|
|
4 |
scheduler_names,
|
5 |
SD15_TASKS,
|
6 |
SDXL_TASKS,
|
7 |
+
ALL_BUILTIN_UPSCALERS,
|
8 |
)
|
9 |
|
10 |
# - **Download Models**
|
|
|
44 |
'John6666/ntr-mix-illustrious-xl-noob-xl-ntrmix35-sdxl',
|
45 |
'John6666/ntr-mix-illustrious-xl-noob-xl-v777-sdxl',
|
46 |
'John6666/ntr-mix-illustrious-xl-noob-xl-v777forlora-sdxl',
|
47 |
+
'John6666/hassaku-xl-illustrious-v10-sdxl',
|
48 |
+
'John6666/hassaku-xl-illustrious-v10style-sdxl',
|
49 |
'John6666/haruki-mix-illustrious-v10-sdxl',
|
50 |
'John6666/noobreal-v10-sdxl',
|
51 |
'John6666/complicated-noobai-merge-vprediction-sdxl',
|
52 |
+
'Laxhar/noobai-XL-Vpred-0.75s',
|
53 |
+
'Laxhar/noobai-XL-Vpred-0.75',
|
54 |
'Laxhar/noobai-XL-Vpred-0.65s',
|
55 |
'Laxhar/noobai-XL-Vpred-0.65',
|
56 |
'Laxhar/noobai-XL-Vpred-0.6',
|
57 |
+
'John6666/cat-tower-noobai-xl-checkpoint-v14vpred-sdxl',
|
58 |
'John6666/noobai-xl-nai-xl-vpred05version-sdxl',
|
59 |
'John6666/noobai-fusion2-vpred-itercomp-v1-sdxl',
|
60 |
'John6666/noobai-xl-nai-xl-vpredtestversion-sdxl',
|
|
|
64 |
'John6666/illustrious-pencil-xl-v200-sdxl',
|
65 |
'John6666/obsession-illustriousxl-v21-sdxl',
|
66 |
'John6666/obsession-illustriousxl-v30-sdxl',
|
67 |
+
'John6666/obsession-illustriousxl-v31-sdxl',
|
68 |
'John6666/wai-nsfw-illustrious-v70-sdxl',
|
69 |
'John6666/illustrious-pony-mix-v3-sdxl',
|
70 |
'John6666/nova-anime-xl-illustriousv10-sdxl',
|
|
|
163 |
DIRECTORY_LORAS = 'loras'
|
164 |
DIRECTORY_VAES = 'vaes'
|
165 |
DIRECTORY_EMBEDS = 'embedings'
|
166 |
+
DIRECTORY_UPSCALERS = 'upscalers'
|
167 |
|
168 |
CACHE_HF = "/home/user/.cache/huggingface/hub/"
|
169 |
STORAGE_ROOT = "/home/user/"
|
|
|
198 |
|
199 |
UPSCALER_DICT_GUI = {
|
200 |
None: None,
|
201 |
+
**{bu: bu for bu in ALL_BUILTIN_UPSCALERS if bu not in ["HAT x4", "DAT x4", "DAT x3", "DAT x2", "SwinIR 4x"]},
|
202 |
+
# "RealESRGAN_x4plus": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
"RealESRNet_x4plus": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/RealESRNet_x4plus.pth",
|
204 |
+
# "RealESRGAN_x4plus_anime_6B": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth",
|
205 |
+
# "RealESRGAN_x2plus": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth",
|
206 |
+
# "realesr-animevideov3": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-animevideov3.pth",
|
207 |
+
# "realesr-general-x4v3": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth",
|
208 |
+
# "realesr-general-wdn-x4v3": "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth",
|
209 |
"4x-UltraSharp": "https://huggingface.co/Shandypur/ESRGAN-4x-UltraSharp/resolve/main/4x-UltraSharp.pth",
|
210 |
"4x_foolhardy_Remacri": "https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth",
|
211 |
"Remacri4xExtraSmoother": "https://huggingface.co/hollowstrawberry/upscalers-backup/resolve/main/ESRGAN/Remacri%204x%20ExtraSmoother.pth",
|