Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,12 @@ import sys
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
models = [
|
| 7 |
-
|
| 8 |
{"name": "A Certain Model", "url": "JosephusCheung/ACertainModel"},
|
| 9 |
{"name": "A Certain Thing", "url": "JosephusCheung/ACertainThing"},
|
| 10 |
{"name": "A Certainity", "url": "JosephusCheung/ACertainty"},
|
| 11 |
{"name": "Abyss Hell Hero", "url": "AIARTCHAN/AbyssHellHero"},
|
| 12 |
{"name": "Abyss Maple 3", "url": "AIARTCHAN/AbyssMapleVer3"},
|
| 13 |
-
{"name": "Abyss Orange Mix 2 (Anime)", "url": "WarriorMama777/AbyssOrangeMix2"},
|
| 14 |
{"name": "Abyss Orange Mix 2", "url": "WarriorMama777/AbyssOrangeMix2"},
|
| 15 |
{"name": "Abyss Orange Mix", "url": "WarriorMama777/AbyssOrangeMix"},
|
| 16 |
{"name": "AbyssHell 3", "url": "AIARTCHAN/AbyssHellVer3"},
|
|
@@ -34,12 +33,9 @@ models = [
|
|
| 34 |
{"name": "Anything 3.0", "url": "Linaqruf/anything-v3.0"},
|
| 35 |
{"name": "Anything 3.1", "url": "cag/anything-v3-1"},
|
| 36 |
{"name": "Anything 3X", "url": "iZELX1/Anything-V3-X"},
|
| 37 |
-
{"name": "Anything 4.0 (Anime)", "url": "andite/anything-v4.0"},
|
| 38 |
{"name": "Anything 4.0", "url": "andite/anything-v4.0"},
|
| 39 |
-
{"name": "Anything 5.0 (Anime)", "url": "stablediffusionapi/anything-v5"},
|
| 40 |
{"name": "Anything 5.0", "url": "stablediffusionapi/anything-v5"},
|
| 41 |
{"name": "Anything Else 4", "url": "stablediffusionapi/anythingelse-v4"},
|
| 42 |
-
{"name": "Anything Else 5 (Anime)", "url": "stablediffusionapi/anything-v5"},
|
| 43 |
{"name": "Anything Else 5", "url": "stablediffusionapi/anything-v5"},
|
| 44 |
{"name": "Anything Midjourney 4.1", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
| 45 |
{"name": "Arcane Diffusion", "url": "nitrosocke/Arcane-Diffusion"},
|
|
@@ -72,8 +68,8 @@ models = [
|
|
| 72 |
{"name": "Colorful 4.5", "url": "Manseo/Colorful-v4.5-Plus"},
|
| 73 |
{"name": "Comic Diffusion", "url": "ogkalu/Comic-Diffusion"},
|
| 74 |
{"name": "Complex-Lineart", "url": "Conflictx/Complex-Lineart"},
|
| 75 |
-
{"name": "Cool Japan Diffusion (Anime)", "url": "aipicasso/cool-japan-diffusion-2-1-2"},
|
| 76 |
{"name": "Cool Japan Diffusion 2.1.2", "url": "aipicasso/cool-japan-diffusion-2-1-2"},
|
|
|
|
| 77 |
{"name": "CoreMix", "url": "corechan/CoreMix"},
|
| 78 |
{"name": "Cosmic Babes", "url": "stablediffusionapi/cosmic-babes"},
|
| 79 |
{"name": "Cosmic Horros 768", "url": "Guizmus/SDArt_cosmichorrors768"},
|
|
@@ -81,15 +77,13 @@ models = [
|
|
| 81 |
{"name": "Counterfeit 1.0", "url": "gsdf/counterfeit-v1.0"},
|
| 82 |
{"name": "Counterfeit 2", "url": "gsdf/Counterfeit-V2.0"},
|
| 83 |
{"name": "Counterfeit 2.0", "url": "gsdf/Counterfeit-V2.0"},
|
| 84 |
-
{"name": "Counterfeit 3.0 (Anime)", "url": "stablediffusionapi/counterfeit-v30"},
|
| 85 |
{"name": "Counterfeit 3.0", "url": "stablediffusionapi/counterfeit-v30"},
|
| 86 |
{"name": "CuteSexyRobutts", "url": "andite/cutesexyrobutts-diffusion"},
|
| 87 |
{"name": "CyberPunk Anime", "url": "DGSpitzer/Cyberpunk-Anime-Diffusion"},
|
| 88 |
-
{"name": "Cyberrealistic (3D, Photoreal)", "url": "stablediffusionapi/cyberrealistic"},
|
| 89 |
{"name": "Cyberrealistic", "url": "stablediffusionapi/cyberrealistic"},
|
| 90 |
{"name": "Dark Sushi Mix", "url": "stablediffusionapi/dark-sushi-mix"},
|
| 91 |
{"name": "Dash Sushi 25d", "url": "stablediffusionapi/dark-sushi-25d"},
|
| 92 |
-
{"name": "Deliberate
|
| 93 |
{"name": "DGSpitzer", "url": "DGSpitzer/DGSpitzer-Art-Diffusion"},
|
| 94 |
{"name": "Double Exposure Diffusion", "url": "joachimsallstrom/Double-Exposure-Diffusion"},
|
| 95 |
{"name": "Dreamful 2", "url": "Hius/DreamFul-V2"},
|
|
@@ -97,9 +91,8 @@ models = [
|
|
| 97 |
{"name": "Dreamlike Art", "url": "dreamlike-art/dreamlike-diffusion-1.0"},
|
| 98 |
{"name": "Dreamlike Diffusion", "url": "dreamlike-art/dreamlike-diffusion-1.0"},
|
| 99 |
{"name": "Dreamlike Photoreal", "url": "dreamlike-art/dreamlike-photoreal-2.0"},
|
| 100 |
-
{"name": "Dreamshaper
|
| 101 |
{"name": "DucHaiten Anime", "url": "DucHaiten/DucHaitenAnime"},
|
| 102 |
-
{"name": "DucHaiten Art (3D Characters)", "url": "DucHaiten/DucHaitenAIart"},
|
| 103 |
{"name": "DucHaiten Art", "url": "DucHaiten/DucHaitenAIart"},
|
| 104 |
{"name": "DucHaiten ClassicAnime", "url": "DucHaiten/DH_ClassicAnime"},
|
| 105 |
{"name": "DucHaiten DreamWorld", "url": "DucHaiten/DucHaitenDreamWorld"},
|
|
@@ -112,10 +105,8 @@ models = [
|
|
| 112 |
{"name": "Elden Ring", "url": "nitrosocke/elden-ring-diffusion"},
|
| 113 |
{"name": "EmotionalBackLightsMix", "url": "Kuyoh/EmotionalBackLightsMix"},
|
| 114 |
{"name": "Epi PhaV", "url": "EmiPha/EmiPhaV"},
|
| 115 |
-
{"name": "Epic Diffusion (3D, Photoreal)", "url": "johnslegers/epic-diffusion"},
|
| 116 |
{"name": "Epic Diffusion 1.1", "url": "johnslegers/epic-diffusion-v1.1"},
|
| 117 |
{"name": "Epic Diffusion", "url": "johnslegers/epic-diffusion"},
|
| 118 |
-
{"name": "EpicMix Realism (Art & Anime)", "url": "Duskfallcrew/EpicMix_Realism"},
|
| 119 |
{"name": "EpicMix Realism", "url": "Duskfallcrew/EpicMix_Realism"},
|
| 120 |
{"name": "Estrilda Mix", "url": "BIGMON/EstrildaMix"},
|
| 121 |
{"name": "FantaStel", "url": "0RisingStar0/FantaStel"},
|
|
@@ -162,9 +153,7 @@ models = [
|
|
| 162 |
{"name": "MeinaMix 7", "url": "Nacholmo/meinamixv7-diffusers"},
|
| 163 |
{"name": "MF-Base", "url": "MyneFactory/MF-Base"},
|
| 164 |
{"name": "Microscopic Model", "url": "Fictiverse/Stable_Diffusion_Microscopic_model"},
|
| 165 |
-
{"name": "Midjourney 4.0 (Art & Anime)", "url": "flax/midjourney-v4-diffusion"},
|
| 166 |
{"name": "Midjourney 4.0", "url": "flax/midjourney-v4-diffusion"},
|
| 167 |
-
{"name": "Midjourney 4.1 (Art & Anime)", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
| 168 |
{"name": "Midjourney 4.1", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
| 169 |
{"name": "Mignon Diffusion", "url": "andite/mignon-diffusion"},
|
| 170 |
{"name": "MikaPikazo Diffusion", "url": "andite/mikapikazo-diffusion"},
|
|
@@ -174,31 +163,26 @@ models = [
|
|
| 174 |
{"name": "Mo-Di Diffusion", "url": "nitrosocke/mo-di-diffusion"},
|
| 175 |
{"name": "MoistMix 1", "url": "MoistMix/MoistMixV1"},
|
| 176 |
{"name": "Naruto Diffuser", "url": "lambdalabs/sd-naruto-diffusers"},
|
| 177 |
-
{"name": "Never Ending Dream 2
|
| 178 |
{"name": "NeverEnding-Dream", "url": "Lykon/NeverEnding-Dream"},
|
| 179 |
{"name": "Nitro Diffusion", "url": "nitrosocke/Nitro-Diffusion"},
|
| 180 |
{"name": "NotSoXJB", "url": "AerinK/NotSoXJB-Mix-1"},
|
| 181 |
-
{"name": "Openjourney 4 (Art & Anime)", "url": "prompthero/openjourney-v4"},
|
| 182 |
{"name": "Openjourney 4", "url": "prompthero/openjourney-v4"},
|
| 183 |
{"name": "Openjourney V2", "url": "prompthero/openjourney-v2"},
|
| 184 |
{"name": "Openjourney", "url": "prompthero/openjourney"},
|
| 185 |
{"name": "OpenNiji", "url": "Korakoe/OpenNiji"},
|
| 186 |
{"name": "Papercut", "url": "Fictiverse/Stable_Diffusion_PaperCut_Model"},
|
| 187 |
{"name": "Pastel Mix", "url": "andite/pastel-mix"},
|
| 188 |
-
{"name": "Picasso Diffusion 1.1 (Anime)", "url": "aipicasso/picasso-diffusion-1-1"},
|
| 189 |
{"name": "Picasso Diffusion 1.1", "url": "aipicasso/picasso-diffusion-1-1"},
|
| 190 |
{"name": "Piromizu Diffusion", "url": "andite/piromizu-diffusion"},
|
| 191 |
{"name": "Plat Diffusion", "url": "p1atdev/plat-diffusion"},
|
| 192 |
{"name": "Pokemon Diffuser", "url": "lambdalabs/sd-pokemon-diffusers"},
|
| 193 |
{"name": "Portrait Plus", "url": "wavymulder/portraitplus"},
|
| 194 |
-
{"name": "Protogen 2.2 (Anime)", "url": "darkstorm2150/Protogen_v2.2_Official_Release"},
|
| 195 |
{"name": "Protogen 2.2", "url": "darkstorm2150/Protogen_v2.2_Official_Release"},
|
| 196 |
{"name": "Protogen Infinity", "url": "darkstorm2150/Protogen_Infinity_Official_Release"},
|
| 197 |
-
{"name": "Protogen X 3.4 (Photoreal)", "url": "darkstorm2150/Protogen_x3.4_Official_Release"},
|
| 198 |
{"name": "Protogen X 3.4", "url": "darkstorm2150/Protogen_x3.4_Official_Release"},
|
| 199 |
-
{"name": "Protogen X 5.8
|
| 200 |
{"name": "QuinceMix", "url": "Hemlok/QuinceMix"},
|
| 201 |
-
{"name": "Realistic Vision 1.4 (3D, Photoreal)", "url": "SG161222/Realistic_Vision_V1.4"},
|
| 202 |
{"name": "Realistic Vision 1.4", "url": "SG161222/Realistic_Vision_V1.4"},
|
| 203 |
{"name": "Redshift 768", "url": "nitrosocke/redshift-diffusion-768"},
|
| 204 |
{"name": "Redshift Diffusion 768", "url": "nitrosocke/redshift-diffusion-768"},
|
|
@@ -206,7 +190,6 @@ models = [
|
|
| 206 |
{"name": "Replicant V2", "url": "gsdf/Replicant-V2.0"},
|
| 207 |
{"name": "Replicant-V1.0", "url": "gsdf/Replicant-V1.0"},
|
| 208 |
{"name": "Rev Anim", "url": "stablediffusionapi/rev-anim"},
|
| 209 |
-
{"name": "Rev Animated (Anime)", "url": "LottePeisch/RevAnimated-Diffusers"},
|
| 210 |
{"name": "Rev Animated", "url": "coreml/coreml-ReV-Animated"},
|
| 211 |
{"name": "Rev Animated", "url": "LottePeisch/RevAnimated-Diffusers"},
|
| 212 |
{"name": "Robo Diffusion 3 Base", "url": "nousr/robo-diffusion-2-base"},
|
|
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
models = [
|
| 7 |
+
{"name": "7 Pa", "url": "AIARTCHAN/7pa"},
|
| 8 |
{"name": "A Certain Model", "url": "JosephusCheung/ACertainModel"},
|
| 9 |
{"name": "A Certain Thing", "url": "JosephusCheung/ACertainThing"},
|
| 10 |
{"name": "A Certainity", "url": "JosephusCheung/ACertainty"},
|
| 11 |
{"name": "Abyss Hell Hero", "url": "AIARTCHAN/AbyssHellHero"},
|
| 12 |
{"name": "Abyss Maple 3", "url": "AIARTCHAN/AbyssMapleVer3"},
|
|
|
|
| 13 |
{"name": "Abyss Orange Mix 2", "url": "WarriorMama777/AbyssOrangeMix2"},
|
| 14 |
{"name": "Abyss Orange Mix", "url": "WarriorMama777/AbyssOrangeMix"},
|
| 15 |
{"name": "AbyssHell 3", "url": "AIARTCHAN/AbyssHellVer3"},
|
|
|
|
| 33 |
{"name": "Anything 3.0", "url": "Linaqruf/anything-v3.0"},
|
| 34 |
{"name": "Anything 3.1", "url": "cag/anything-v3-1"},
|
| 35 |
{"name": "Anything 3X", "url": "iZELX1/Anything-V3-X"},
|
|
|
|
| 36 |
{"name": "Anything 4.0", "url": "andite/anything-v4.0"},
|
|
|
|
| 37 |
{"name": "Anything 5.0", "url": "stablediffusionapi/anything-v5"},
|
| 38 |
{"name": "Anything Else 4", "url": "stablediffusionapi/anythingelse-v4"},
|
|
|
|
| 39 |
{"name": "Anything Else 5", "url": "stablediffusionapi/anything-v5"},
|
| 40 |
{"name": "Anything Midjourney 4.1", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
| 41 |
{"name": "Arcane Diffusion", "url": "nitrosocke/Arcane-Diffusion"},
|
|
|
|
| 68 |
{"name": "Colorful 4.5", "url": "Manseo/Colorful-v4.5-Plus"},
|
| 69 |
{"name": "Comic Diffusion", "url": "ogkalu/Comic-Diffusion"},
|
| 70 |
{"name": "Complex-Lineart", "url": "Conflictx/Complex-Lineart"},
|
|
|
|
| 71 |
{"name": "Cool Japan Diffusion 2.1.2", "url": "aipicasso/cool-japan-diffusion-2-1-2"},
|
| 72 |
+
{"name": "Cool Japan Diffusion", "url": "aipicasso/cool-japan-diffusion-2-1-2"},
|
| 73 |
{"name": "CoreMix", "url": "corechan/CoreMix"},
|
| 74 |
{"name": "Cosmic Babes", "url": "stablediffusionapi/cosmic-babes"},
|
| 75 |
{"name": "Cosmic Horros 768", "url": "Guizmus/SDArt_cosmichorrors768"},
|
|
|
|
| 77 |
{"name": "Counterfeit 1.0", "url": "gsdf/counterfeit-v1.0"},
|
| 78 |
{"name": "Counterfeit 2", "url": "gsdf/Counterfeit-V2.0"},
|
| 79 |
{"name": "Counterfeit 2.0", "url": "gsdf/Counterfeit-V2.0"},
|
|
|
|
| 80 |
{"name": "Counterfeit 3.0", "url": "stablediffusionapi/counterfeit-v30"},
|
| 81 |
{"name": "CuteSexyRobutts", "url": "andite/cutesexyrobutts-diffusion"},
|
| 82 |
{"name": "CyberPunk Anime", "url": "DGSpitzer/Cyberpunk-Anime-Diffusion"},
|
|
|
|
| 83 |
{"name": "Cyberrealistic", "url": "stablediffusionapi/cyberrealistic"},
|
| 84 |
{"name": "Dark Sushi Mix", "url": "stablediffusionapi/dark-sushi-mix"},
|
| 85 |
{"name": "Dash Sushi 25d", "url": "stablediffusionapi/dark-sushi-25d"},
|
| 86 |
+
{"name": "Deliberate", "url": "Masagin/Deliberate"},
|
| 87 |
{"name": "DGSpitzer", "url": "DGSpitzer/DGSpitzer-Art-Diffusion"},
|
| 88 |
{"name": "Double Exposure Diffusion", "url": "joachimsallstrom/Double-Exposure-Diffusion"},
|
| 89 |
{"name": "Dreamful 2", "url": "Hius/DreamFul-V2"},
|
|
|
|
| 91 |
{"name": "Dreamlike Art", "url": "dreamlike-art/dreamlike-diffusion-1.0"},
|
| 92 |
{"name": "Dreamlike Diffusion", "url": "dreamlike-art/dreamlike-diffusion-1.0"},
|
| 93 |
{"name": "Dreamlike Photoreal", "url": "dreamlike-art/dreamlike-photoreal-2.0"},
|
| 94 |
+
{"name": "Dreamshaper", "url": "Lykon/DreamShaper"},
|
| 95 |
{"name": "DucHaiten Anime", "url": "DucHaiten/DucHaitenAnime"},
|
|
|
|
| 96 |
{"name": "DucHaiten Art", "url": "DucHaiten/DucHaitenAIart"},
|
| 97 |
{"name": "DucHaiten ClassicAnime", "url": "DucHaiten/DH_ClassicAnime"},
|
| 98 |
{"name": "DucHaiten DreamWorld", "url": "DucHaiten/DucHaitenDreamWorld"},
|
|
|
|
| 105 |
{"name": "Elden Ring", "url": "nitrosocke/elden-ring-diffusion"},
|
| 106 |
{"name": "EmotionalBackLightsMix", "url": "Kuyoh/EmotionalBackLightsMix"},
|
| 107 |
{"name": "Epi PhaV", "url": "EmiPha/EmiPhaV"},
|
|
|
|
| 108 |
{"name": "Epic Diffusion 1.1", "url": "johnslegers/epic-diffusion-v1.1"},
|
| 109 |
{"name": "Epic Diffusion", "url": "johnslegers/epic-diffusion"},
|
|
|
|
| 110 |
{"name": "EpicMix Realism", "url": "Duskfallcrew/EpicMix_Realism"},
|
| 111 |
{"name": "Estrilda Mix", "url": "BIGMON/EstrildaMix"},
|
| 112 |
{"name": "FantaStel", "url": "0RisingStar0/FantaStel"},
|
|
|
|
| 153 |
{"name": "MeinaMix 7", "url": "Nacholmo/meinamixv7-diffusers"},
|
| 154 |
{"name": "MF-Base", "url": "MyneFactory/MF-Base"},
|
| 155 |
{"name": "Microscopic Model", "url": "Fictiverse/Stable_Diffusion_Microscopic_model"},
|
|
|
|
| 156 |
{"name": "Midjourney 4.0", "url": "flax/midjourney-v4-diffusion"},
|
|
|
|
| 157 |
{"name": "Midjourney 4.1", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
| 158 |
{"name": "Mignon Diffusion", "url": "andite/mignon-diffusion"},
|
| 159 |
{"name": "MikaPikazo Diffusion", "url": "andite/mikapikazo-diffusion"},
|
|
|
|
| 163 |
{"name": "Mo-Di Diffusion", "url": "nitrosocke/mo-di-diffusion"},
|
| 164 |
{"name": "MoistMix 1", "url": "MoistMix/MoistMixV1"},
|
| 165 |
{"name": "Naruto Diffuser", "url": "lambdalabs/sd-naruto-diffusers"},
|
| 166 |
+
{"name": "Never Ending Dream 2", "url": "luongphamit/NeverEnding-Dream2"},
|
| 167 |
{"name": "NeverEnding-Dream", "url": "Lykon/NeverEnding-Dream"},
|
| 168 |
{"name": "Nitro Diffusion", "url": "nitrosocke/Nitro-Diffusion"},
|
| 169 |
{"name": "NotSoXJB", "url": "AerinK/NotSoXJB-Mix-1"},
|
|
|
|
| 170 |
{"name": "Openjourney 4", "url": "prompthero/openjourney-v4"},
|
| 171 |
{"name": "Openjourney V2", "url": "prompthero/openjourney-v2"},
|
| 172 |
{"name": "Openjourney", "url": "prompthero/openjourney"},
|
| 173 |
{"name": "OpenNiji", "url": "Korakoe/OpenNiji"},
|
| 174 |
{"name": "Papercut", "url": "Fictiverse/Stable_Diffusion_PaperCut_Model"},
|
| 175 |
{"name": "Pastel Mix", "url": "andite/pastel-mix"},
|
|
|
|
| 176 |
{"name": "Picasso Diffusion 1.1", "url": "aipicasso/picasso-diffusion-1-1"},
|
| 177 |
{"name": "Piromizu Diffusion", "url": "andite/piromizu-diffusion"},
|
| 178 |
{"name": "Plat Diffusion", "url": "p1atdev/plat-diffusion"},
|
| 179 |
{"name": "Pokemon Diffuser", "url": "lambdalabs/sd-pokemon-diffusers"},
|
| 180 |
{"name": "Portrait Plus", "url": "wavymulder/portraitplus"},
|
|
|
|
| 181 |
{"name": "Protogen 2.2", "url": "darkstorm2150/Protogen_v2.2_Official_Release"},
|
| 182 |
{"name": "Protogen Infinity", "url": "darkstorm2150/Protogen_Infinity_Official_Release"},
|
|
|
|
| 183 |
{"name": "Protogen X 3.4", "url": "darkstorm2150/Protogen_x3.4_Official_Release"},
|
| 184 |
+
{"name": "Protogen X 5.8", "url": "darkstorm2150/Protogen_x5.8_Official_Release"},
|
| 185 |
{"name": "QuinceMix", "url": "Hemlok/QuinceMix"},
|
|
|
|
| 186 |
{"name": "Realistic Vision 1.4", "url": "SG161222/Realistic_Vision_V1.4"},
|
| 187 |
{"name": "Redshift 768", "url": "nitrosocke/redshift-diffusion-768"},
|
| 188 |
{"name": "Redshift Diffusion 768", "url": "nitrosocke/redshift-diffusion-768"},
|
|
|
|
| 190 |
{"name": "Replicant V2", "url": "gsdf/Replicant-V2.0"},
|
| 191 |
{"name": "Replicant-V1.0", "url": "gsdf/Replicant-V1.0"},
|
| 192 |
{"name": "Rev Anim", "url": "stablediffusionapi/rev-anim"},
|
|
|
|
| 193 |
{"name": "Rev Animated", "url": "coreml/coreml-ReV-Animated"},
|
| 194 |
{"name": "Rev Animated", "url": "LottePeisch/RevAnimated-Diffusers"},
|
| 195 |
{"name": "Robo Diffusion 3 Base", "url": "nousr/robo-diffusion-2-base"},
|