Spaces:
Running
on
Zero
Running
on
Zero
Upload env.py
Browse files
env.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import os
|
|
|
|
| 2 |
|
| 3 |
CIVITAI_API_KEY = os.environ.get("CIVITAI_API_KEY")
|
| 4 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
|
@@ -38,98 +39,6 @@ LOAD_DIFFUSERS_FORMAT_MODEL = [
|
|
| 38 |
'votepurchase/RealVisXL_V4.0',
|
| 39 |
'votepurchase/juggernautXL_hyper_8step_sfw',
|
| 40 |
'votepurchase/ponyRealism_v21MainVAE',
|
| 41 |
-
'stabilityai/stable-diffusion-xl-base-1.0',
|
| 42 |
-
'black-forest-labs/FLUX.1-dev',
|
| 43 |
-
'John6666/blue-pencil-flux1-v021-fp8-flux',
|
| 44 |
-
'John6666/wai-ani-flux-v10forfp8-fp8-flux',
|
| 45 |
-
'John6666/xe-anime-flux-v04-fp8-flux',
|
| 46 |
-
'John6666/lyh-anime-flux-v2a1-fp8-flux',
|
| 47 |
-
'John6666/carnival-unchained-v10-fp8-flux',
|
| 48 |
-
'Freepik/flux.1-lite-8B-alpha',
|
| 49 |
-
'ostris/OpenFLUX.1',
|
| 50 |
-
'John6666/noobai-xl-nai-xl-epsilonpred10version-sdxl',
|
| 51 |
-
'John6666/noobai-xl-nai-xl-epsilonpred075version-sdxl',
|
| 52 |
-
'John6666/noobai-xl-nai-xl-epsilonpred05version-sdxl',
|
| 53 |
-
'John6666/noobai-cyberfix-v10-sdxl',
|
| 54 |
-
'John6666/noobaiiter-xl-vpred-v075-sdxl',
|
| 55 |
-
'John6666/complicated-noobai-merge-vprediction-sdxl',
|
| 56 |
-
'John6666/noobai-fusion2-vpred-itercomp-v1-sdxl',
|
| 57 |
-
'John6666/noobai-xl-nai-xl-vpredtestversion-sdxl',
|
| 58 |
-
'John6666/chadmix-noobai075-illustrious01-v10-sdxl',
|
| 59 |
-
'OnomaAIResearch/Illustrious-xl-early-release-v0',
|
| 60 |
-
'John6666/obsession-illustriousxl-v21-sdxl',
|
| 61 |
-
'eienmojiki/Anything-XL',
|
| 62 |
-
'eienmojiki/Starry-XL-v5.2',
|
| 63 |
-
'John6666/meinaxl-v2-sdxl',
|
| 64 |
-
'John6666/epicrealism-xl-v10kiss2-sdxl',
|
| 65 |
-
'John6666/epicrealism-xl-v8kiss-sdxl',
|
| 66 |
-
'misri/zavychromaxl_v80',
|
| 67 |
-
'SG161222/RealVisXL_V4.0',
|
| 68 |
-
'SG161222/RealVisXL_V5.0',
|
| 69 |
-
'misri/newrealityxlAllInOne_Newreality40',
|
| 70 |
-
'gsdf/CounterfeitXL',
|
| 71 |
-
'John6666/silvermoon-mix-01xl-v11-sdxl',
|
| 72 |
-
'WhiteAiZ/autismmixSDXL_autismmixConfetti_diffusers',
|
| 73 |
-
'kitty7779/ponyDiffusionV6XL',
|
| 74 |
-
'GraydientPlatformAPI/aniverse-pony',
|
| 75 |
-
'John6666/ras-real-anime-screencap-v1-sdxl',
|
| 76 |
-
'John6666/duchaiten-pony-xl-no-score-v60-sdxl',
|
| 77 |
-
'John6666/mistoon-anime-ponyalpha-sdxl',
|
| 78 |
-
'John6666/3x3x3mixxl-v2-sdxl',
|
| 79 |
-
'John6666/3x3x3mixxl-3dv01-sdxl',
|
| 80 |
-
'John6666/ebara-mfcg-pony-mix-v12-sdxl',
|
| 81 |
-
'John6666/t-ponynai3-v51-sdxl',
|
| 82 |
-
'John6666/t-ponynai3-v65-sdxl',
|
| 83 |
-
'John6666/prefect-pony-xl-v3-sdxl',
|
| 84 |
-
'John6666/mala-anime-mix-nsfw-pony-xl-v5-sdxl',
|
| 85 |
-
'John6666/wai-real-mix-v11-sdxl',
|
| 86 |
-
'John6666/wai-c-v6-sdxl',
|
| 87 |
-
'John6666/iniverse-mix-xl-sfwnsfw-pony-guofeng-v43-sdxl',
|
| 88 |
-
'John6666/sifw-annihilation-xl-v2-sdxl',
|
| 89 |
-
'John6666/photo-realistic-pony-v5-sdxl',
|
| 90 |
-
'John6666/pony-realism-v21main-sdxl',
|
| 91 |
-
'John6666/pony-realism-v22main-sdxl',
|
| 92 |
-
'John6666/cyberrealistic-pony-v63-sdxl',
|
| 93 |
-
'John6666/cyberrealistic-pony-v64-sdxl',
|
| 94 |
-
'John6666/cyberrealistic-pony-v65-sdxl',
|
| 95 |
-
'GraydientPlatformAPI/realcartoon-pony-diffusion',
|
| 96 |
-
'John6666/nova-anime-xl-pony-v5-sdxl',
|
| 97 |
-
'John6666/autismmix-sdxl-autismmix-pony-sdxl',
|
| 98 |
-
'John6666/aimz-dream-real-pony-mix-v3-sdxl',
|
| 99 |
-
'John6666/duchaiten-pony-real-v11fix-sdxl',
|
| 100 |
-
'John6666/duchaiten-pony-real-v20-sdxl',
|
| 101 |
-
'John6666/duchaiten-pony-xl-no-score-v70-sdxl',
|
| 102 |
-
'Eugeoter/artiwaifu-diffusion-2.0',
|
| 103 |
-
'comin/IterComp',
|
| 104 |
-
'KBlueLeaf/Kohaku-XL-Zeta',
|
| 105 |
-
'cagliostrolab/animagine-xl-3.1',
|
| 106 |
-
'yodayo-ai/kivotos-xl-2.0',
|
| 107 |
-
'yodayo-ai/holodayo-xl-2.1',
|
| 108 |
-
'yodayo-ai/clandestine-xl-1.0',
|
| 109 |
-
'digiplay/majicMIX_sombre_v2',
|
| 110 |
-
'digiplay/majicMIX_realistic_v6',
|
| 111 |
-
'digiplay/majicMIX_realistic_v7',
|
| 112 |
-
'digiplay/DreamShaper_8',
|
| 113 |
-
'digiplay/BeautifulArt_v1',
|
| 114 |
-
'digiplay/DarkSushi2.5D_v1',
|
| 115 |
-
'digiplay/darkphoenix3D_v1.1',
|
| 116 |
-
'digiplay/BeenYouLiteL11_diffusers',
|
| 117 |
-
'Yntec/RevAnimatedV2Rebirth',
|
| 118 |
-
'youknownothing/cyberrealistic_v50',
|
| 119 |
-
'youknownothing/deliberate-v6',
|
| 120 |
-
'GraydientPlatformAPI/deliberate-cyber3',
|
| 121 |
-
'GraydientPlatformAPI/picx-real',
|
| 122 |
-
'GraydientPlatformAPI/perfectworld6',
|
| 123 |
-
'emilianJR/epiCRealism',
|
| 124 |
-
'votepurchase/counterfeitV30_v30',
|
| 125 |
-
'votepurchase/ChilloutMix',
|
| 126 |
-
'Meina/MeinaMix_V11',
|
| 127 |
-
'Meina/MeinaUnreal_V5',
|
| 128 |
-
'Meina/MeinaPastel_V7',
|
| 129 |
-
'GraydientPlatformAPI/realcartoon3d-17',
|
| 130 |
-
'GraydientPlatformAPI/realcartoon-pixar11',
|
| 131 |
-
'GraydientPlatformAPI/realcartoon-real17',
|
| 132 |
-
'nitrosocke/Ghibli-Diffusion',
|
| 133 |
'KBlueLeaf/Kohaku-XL-Epsilon-rev2',
|
| 134 |
'KBlueLeaf/Kohaku-XL-Epsilon-rev3',
|
| 135 |
'KBlueLeaf/Kohaku-XL-Zeta',
|
|
@@ -138,6 +47,7 @@ LOAD_DIFFUSERS_FORMAT_MODEL = [
|
|
| 138 |
'Eugeoter/artiwaifu-diffusion-2.0',
|
| 139 |
'comin/IterComp',
|
| 140 |
'OnomaAIResearch/Illustrious-xl-early-release-v0',
|
|
|
|
| 141 |
'Raelina/Rae-Diffusion-XL-V2',
|
| 142 |
'Raelina/Raemu-XL-V4',
|
| 143 |
'Raelina/Raehoshi-illust-XL',
|
|
@@ -150,17 +60,18 @@ LOAD_DIFFUSERS_FORMAT_MODEL = [
|
|
| 150 |
"multimodalart/FLUX.1-dev2pro-full",
|
| 151 |
"Raelina/Raemu-Flux",
|
| 152 |
]
|
|
|
|
| 153 |
|
| 154 |
DIFFUSERS_FORMAT_LORAS = [
|
| 155 |
"nerijs/animation2k-flux",
|
| 156 |
"XLabs-AI/flux-RealismLora",
|
|
|
|
| 157 |
]
|
| 158 |
|
| 159 |
# List all Models for specified user
|
| 160 |
HF_MODEL_USER_LIKES = ["votepurchase"] # sorted by number of likes
|
| 161 |
HF_MODEL_USER_EX = ["John6666"] # sorted by a special rule
|
| 162 |
|
| 163 |
-
|
| 164 |
# - **Download Models**
|
| 165 |
DOWNLOAD_MODEL_LIST = [
|
| 166 |
]
|
|
|
|
| 1 |
import os
|
| 2 |
+
from constants import LOAD_DIFFUSERS_FORMAT_MODEL as LOAD_DIFFUSERS_FORMAT_MODEL_DC
|
| 3 |
|
| 4 |
CIVITAI_API_KEY = os.environ.get("CIVITAI_API_KEY")
|
| 5 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
|
|
|
| 39 |
'votepurchase/RealVisXL_V4.0',
|
| 40 |
'votepurchase/juggernautXL_hyper_8step_sfw',
|
| 41 |
'votepurchase/ponyRealism_v21MainVAE',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
'KBlueLeaf/Kohaku-XL-Epsilon-rev2',
|
| 43 |
'KBlueLeaf/Kohaku-XL-Epsilon-rev3',
|
| 44 |
'KBlueLeaf/Kohaku-XL-Zeta',
|
|
|
|
| 47 |
'Eugeoter/artiwaifu-diffusion-2.0',
|
| 48 |
'comin/IterComp',
|
| 49 |
'OnomaAIResearch/Illustrious-xl-early-release-v0',
|
| 50 |
+
'Laxhar/noobai-XL-1.0',
|
| 51 |
'Raelina/Rae-Diffusion-XL-V2',
|
| 52 |
'Raelina/Raemu-XL-V4',
|
| 53 |
'Raelina/Raehoshi-illust-XL',
|
|
|
|
| 60 |
"multimodalart/FLUX.1-dev2pro-full",
|
| 61 |
"Raelina/Raemu-Flux",
|
| 62 |
]
|
| 63 |
+
LOAD_DIFFUSERS_FORMAT_MODEL = LOAD_DIFFUSERS_FORMAT_MODEL_DC + LOAD_DIFFUSERS_FORMAT_MODEL
|
| 64 |
|
| 65 |
DIFFUSERS_FORMAT_LORAS = [
|
| 66 |
"nerijs/animation2k-flux",
|
| 67 |
"XLabs-AI/flux-RealismLora",
|
| 68 |
+
"Shakker-Labs/FLUX.1-dev-LoRA-Logo-Design",
|
| 69 |
]
|
| 70 |
|
| 71 |
# List all Models for specified user
|
| 72 |
HF_MODEL_USER_LIKES = ["votepurchase"] # sorted by number of likes
|
| 73 |
HF_MODEL_USER_EX = ["John6666"] # sorted by a special rule
|
| 74 |
|
|
|
|
| 75 |
# - **Download Models**
|
| 76 |
DOWNLOAD_MODEL_LIST = [
|
| 77 |
]
|