Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,11 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
|
|
|
|
|
|
7 |
"Yntec/526",
|
8 |
"Yntec/526Mix",
|
9 |
-
"stablediffusionapi/all-526-animated",
|
10 |
-
"stablediffusionapi/all-526",
|
11 |
"Yntec/UberRealisticLegacy",
|
12 |
"Yntec/fennPhoto",
|
13 |
"Yntec/makeitdoubleplz",
|
@@ -34,10 +35,11 @@ models = [
|
|
34 |
"Yntec/ClassicEra", #1K
|
35 |
"Yntec/GoodLife", #1K
|
36 |
"Yntec/Hassanim", #1K
|
37 |
-
"Yntec/
|
38 |
"Yntec/3DCute", #2K
|
39 |
"Yntec/SuperCuteRemix", #2K
|
40 |
"Yntec/Trending", #2K
|
|
|
41 |
"Yntec/MGM", #3K
|
42 |
"Yntec/3DKX/", #3K
|
43 |
"Yntec/3DKXv11", #3K
|
@@ -58,6 +60,7 @@ models = [
|
|
58 |
"Yntec/CitrineDreamMix", #2K
|
59 |
"Yntec/elldrethsImagination", #2K
|
60 |
"Yntec/ReVAnimated768", #2K
|
|
|
61 |
"Yntec/Dreamful3", #5K
|
62 |
"Yntec/BrandiMilne", #6K
|
63 |
"Yntec/dosmixVAE", #3K
|
@@ -78,8 +81,8 @@ models = [
|
|
78 |
"Yntec/RadiantCinemagic", #5K
|
79 |
"Yntec/RadiantVibes", #3K
|
80 |
"Yntec/NeverEndingDream768", #3K
|
81 |
-
"Yntec/
|
82 |
-
"Yntec/LAMEanime", #
|
83 |
"Yntec/Dreamshaper8", #12K
|
84 |
"Yntec/Oiran", #6K
|
85 |
"Yntec/RealCartoon3D", #6K
|
@@ -104,8 +107,6 @@ models = [
|
|
104 |
"Yntec/nuipenimix2", #34K
|
105 |
"Yntec/epiCPhotoGasm", #40K
|
106 |
"Yntec/HitenDiffusion", #2K
|
107 |
-
"Yntec/Dreamlike",
|
108 |
-
"Yntec/DeliberateRemix",
|
109 |
"Yntec/DreamShaperRemix",
|
110 |
"Yntec/DeliShaper",
|
111 |
"Yntec/dreamlike-photoreal-remix",
|
@@ -211,10 +212,12 @@ models = [
|
|
211 |
"digiplay/Opiate_v2",
|
212 |
"digiplay/PhotoSomnia_vFinal",
|
213 |
"digiplay/polla_mix_2.5D",
|
|
|
214 |
"AstraliteHeart/pony-diffusion",
|
215 |
"stablediffusionapi/chilloutmixsf",
|
216 |
"Masagin/Deliberate", #235
|
217 |
"DucHaiten/DucHaitenSuperCute",
|
|
|
218 |
"theintuitiveye/HARDblend",
|
219 |
"stablediffusionapi/cyberrealistic",
|
220 |
"stablediffusionapi/cusp-of-serenity",
|
@@ -551,6 +554,7 @@ models = [
|
|
551 |
"Yntec/Reddit",
|
552 |
"Yntec/CinematicReality",
|
553 |
"Yntec/3DKX2",
|
|
|
554 |
"CompVis/stable-diffusion-v1-3", #207
|
555 |
"CompVis/stable-diffusion-v1-2", #208
|
556 |
"CompVis/stable-diffusion-v1-1", #209
|
@@ -1123,7 +1127,10 @@ models2=[
|
|
1123 |
gr.Interface.load(f"models/{models[523]}",live=True,preprocess=False),
|
1124 |
gr.Interface.load(f"models/{models[524]}",live=True,preprocess=False),
|
1125 |
gr.Interface.load(f"models/{models[525]}",live=True,preprocess=False),
|
1126 |
-
|
|
|
|
|
|
|
1127 |
#Because there's a model 0, to know the number of models you add 1 to {models[n]}
|
1128 |
|
1129 |
]
|
@@ -1203,8 +1210,9 @@ with gr.Blocks(css=css) as myface:
|
|
1203 |
</body>
|
1204 |
</div>
|
1205 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1206 |
-
<h3>
|
1207 |
-
<br><div class="wrapper">2023.11.
|
|
|
1208 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1209 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1210 |
<p style="margin-bottom: 1px; color: #ffffff;">
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"Yntec/Reanimate",
|
8 |
+
"Yntec/Deliberate2",
|
9 |
+
"Yntec/AgarthaChadstyle",
|
10 |
"Yntec/526",
|
11 |
"Yntec/526Mix",
|
|
|
|
|
12 |
"Yntec/UberRealisticLegacy",
|
13 |
"Yntec/fennPhoto",
|
14 |
"Yntec/makeitdoubleplz",
|
|
|
35 |
"Yntec/ClassicEra", #1K
|
36 |
"Yntec/GoodLife", #1K
|
37 |
"Yntec/Hassanim", #1K
|
38 |
+
"Yntec/DeliberateRemix", #1K
|
39 |
"Yntec/3DCute", #2K
|
40 |
"Yntec/SuperCuteRemix", #2K
|
41 |
"Yntec/Trending", #2K
|
42 |
+
"Yntec/DreamWorld", #3K
|
43 |
"Yntec/MGM", #3K
|
44 |
"Yntec/3DKX/", #3K
|
45 |
"Yntec/3DKXv11", #3K
|
|
|
60 |
"Yntec/CitrineDreamMix", #2K
|
61 |
"Yntec/elldrethsImagination", #2K
|
62 |
"Yntec/ReVAnimated768", #2K
|
63 |
+
"Yntec/OpenNijiRemix", #2K
|
64 |
"Yntec/Dreamful3", #5K
|
65 |
"Yntec/BrandiMilne", #6K
|
66 |
"Yntec/dosmixVAE", #3K
|
|
|
81 |
"Yntec/RadiantCinemagic", #5K
|
82 |
"Yntec/RadiantVibes", #3K
|
83 |
"Yntec/NeverEndingDream768", #3K
|
84 |
+
"Yntec/Dreamlike", #3K
|
85 |
+
"Yntec/LAMEanime", #10K
|
86 |
"Yntec/Dreamshaper8", #12K
|
87 |
"Yntec/Oiran", #6K
|
88 |
"Yntec/RealCartoon3D", #6K
|
|
|
107 |
"Yntec/nuipenimix2", #34K
|
108 |
"Yntec/epiCPhotoGasm", #40K
|
109 |
"Yntec/HitenDiffusion", #2K
|
|
|
|
|
110 |
"Yntec/DreamShaperRemix",
|
111 |
"Yntec/DeliShaper",
|
112 |
"Yntec/dreamlike-photoreal-remix",
|
|
|
212 |
"digiplay/Opiate_v2",
|
213 |
"digiplay/PhotoSomnia_vFinal",
|
214 |
"digiplay/polla_mix_2.5D",
|
215 |
+
"stablediffusionapi/all-526-animated",
|
216 |
"AstraliteHeart/pony-diffusion",
|
217 |
"stablediffusionapi/chilloutmixsf",
|
218 |
"Masagin/Deliberate", #235
|
219 |
"DucHaiten/DucHaitenSuperCute",
|
220 |
+
"stablediffusionapi/all-526",
|
221 |
"theintuitiveye/HARDblend",
|
222 |
"stablediffusionapi/cyberrealistic",
|
223 |
"stablediffusionapi/cusp-of-serenity",
|
|
|
554 |
"Yntec/Reddit",
|
555 |
"Yntec/CinematicReality",
|
556 |
"Yntec/3DKX2",
|
557 |
+
"CompVis/stable-diffusion-v1-4", #530
|
558 |
"CompVis/stable-diffusion-v1-3", #207
|
559 |
"CompVis/stable-diffusion-v1-2", #208
|
560 |
"CompVis/stable-diffusion-v1-1", #209
|
|
|
1127 |
gr.Interface.load(f"models/{models[523]}",live=True,preprocess=False),
|
1128 |
gr.Interface.load(f"models/{models[524]}",live=True,preprocess=False),
|
1129 |
gr.Interface.load(f"models/{models[525]}",live=True,preprocess=False),
|
1130 |
+
gr.Interface.load(f"models/{models[526]}",live=True,preprocess=False),
|
1131 |
+
gr.Interface.load(f"models/{models[527]}",live=True,preprocess=False),
|
1132 |
+
gr.Interface.load(f"models/{models[528]}",live=True,preprocess=False),
|
1133 |
+
gr.Interface.load(f"models/{models[529]}",live=True,preprocess=False),
|
1134 |
#Because there's a model 0, to know the number of models you add 1 to {models[n]}
|
1135 |
|
1136 |
]
|
|
|
1210 |
</body>
|
1211 |
</div>
|
1212 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1213 |
+
<h3>Blitz Diffusion - 530 Stable Diffusion models, but why? For your enjoyment!</h3></p>
|
1214 |
+
<br><div class="wrapper">2023.11.5 <img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;"> Toys to play with: The models AgarthaChadstyle, Deliberate2 and Reanimate have been added!</div>
|
1215 |
+
<br><div class="wrapper">2023.11.3 <img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;"> The models m0nst3rfy3, ChiliConCarne, makeitdoubleplz, fennPhoto, UberRealisticLegacy, 526Mix and 526 have been added!</div>
|
1216 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1217 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1218 |
<p style="margin-bottom: 1px; color: #ffffff;">
|