Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,13 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"Yntec/DucHaitenLofi",
|
8 |
"Yntec/DreamWorks",
|
9 |
"Yntec/SillySymphonies",
|
@@ -19,9 +26,16 @@ models = [
|
|
19 |
"Yntec/Deliberate", #1K
|
20 |
"Yntec/DeliberateRealisticWoop", #1K
|
21 |
"Yntec/EstheticRetroAnime", #1K
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
"Yntec/DreamWorld", #2K
|
23 |
"Yntec/3DCute", #2K
|
24 |
"Yntec/SuperCuteRemix", #2K
|
|
|
25 |
"Yntec/MGM", #3K
|
26 |
"Yntec/3DKX/", #3K
|
27 |
"Yntec/3DKXv11", #3K
|
@@ -30,26 +44,11 @@ models = [
|
|
30 |
"Yntec/DucHaitenDarkside4", #3K
|
31 |
"Yntec/Citrus", #3K
|
32 |
"Yntec/Classic", #3K
|
|
|
33 |
"Yntec/BeautyFool", #4K
|
34 |
"Yntec/CyberRealistic", #4K
|
35 |
-
"Yntec/DucHaiten-GoldenLife",
|
36 |
-
"Yntec/3DCuteWave",
|
37 |
-
"Yntec/GoldenEra", #1K
|
38 |
-
"Yntec/ClassicEra", #1K
|
39 |
-
"Yntec/GoodLife", #1K
|
40 |
-
"Yntec/Hassanim", #1K
|
41 |
-
"Yntec/Trending", #2K
|
42 |
-
"Yntec/BasilRemix", #3K
|
43 |
"Yntec/Lyriel", #4K
|
44 |
"Yntec/3DRendering", #4K
|
45 |
-
"Yntec/Dreamful3", #5K
|
46 |
-
"Yntec/BrandiMilne", #6K
|
47 |
-
"Yntec/AbsoluteRemix", #7K
|
48 |
-
"Yntec/mistoonAnime2", #7K
|
49 |
-
"Yntec/DucHaiten-FANCYxFANCY",#7K
|
50 |
-
"Yntec/LAMEanime", #9K
|
51 |
-
"Yntec/Dreamshaper8", #10K
|
52 |
-
"Yntec/Thriller", #13K
|
53 |
"Yntec/aMovieTrend", #2K
|
54 |
"Yntec/Dreamscape", #2K
|
55 |
"Yntec/elldrethSVividMix", #2K
|
@@ -57,23 +56,37 @@ models = [
|
|
57 |
"Yntec/CitrineDreamMix", #2K
|
58 |
"Yntec/elldrethsImagination", #2K
|
59 |
"Yntec/ReVAnimated768", #2K
|
|
|
|
|
60 |
"Yntec/dosmixVAE", #3K
|
61 |
"Yntec/aPhotographicTrend", #3K
|
62 |
"Yntec/BeenYou", #3K
|
|
|
|
|
|
|
|
|
63 |
"Yntec/3Danimation", #4K
|
64 |
"Yntec/DucHaitenNiji", #4K
|
65 |
"Yntec/Darkside", #4K
|
66 |
"Yntec/animeTEN", #4K
|
67 |
-
"Yntec/
|
|
|
68 |
"Yntec/lamettaRemix", #5K
|
69 |
"Yntec/lametta", #2K
|
70 |
-
"Yntec/
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
"Yntec/RealCartoon3D", #6K
|
72 |
"Yntec/animeTWO", #6K
|
73 |
-
"Yntec/lamettaNightly", #6K
|
|
|
|
|
74 |
"Yntec/Splash", #7K
|
75 |
-
"Yntec/
|
76 |
-
"Yntec/NeverEndingDream768", #7K
|
77 |
"Yntec/epiCRealismVAE", #8K
|
78 |
"Yntec/LehinaModel", #8K
|
79 |
"Yntec/NaughtyChildren", #9K
|
@@ -82,19 +95,13 @@ models = [
|
|
82 |
"Yntec/HassanBlend1512VAE", #9K
|
83 |
"Yntec/animeSEXTILLION/", #15K
|
84 |
"Yntec/AbsoluteReality", #15K
|
|
|
85 |
"Yntec/edgeOfRealism", #25K
|
86 |
"Yntec/aMovieX/", #28K
|
87 |
"Yntec/photoMovieXFinal", #31K
|
88 |
"Yntec/nuipenimix2", #34K
|
89 |
"Yntec/epiCPhotoGasm", #40K
|
90 |
"Yntec/HitenDiffusion", #2K
|
91 |
-
"Yntec/REV",
|
92 |
-
"Yntec/CetusRemix",
|
93 |
-
"Yntec/Dreamscapes_n_Dragonfire_v2",
|
94 |
-
"Yntec/Cetus",
|
95 |
-
"Yntec/RadiantCinemagic",
|
96 |
-
"Yntec/RadiantVibes",
|
97 |
-
"Yntec/OpenGenDiffusers",
|
98 |
"Yntec/Dreamlike",
|
99 |
"Yntec/DeliberateRemix",
|
100 |
"Yntec/DreamShaperRemix",
|
@@ -1108,6 +1115,17 @@ models2=[
|
|
1108 |
gr.Interface.load(f"models/{models[516]}",live=True,preprocess=False),
|
1109 |
gr.Interface.load(f"models/{models[517]}",live=True,preprocess=False),
|
1110 |
gr.Interface.load(f"models/{models[518]}",live=True,preprocess=False),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1111 |
]
|
1112 |
|
1113 |
def text_it1(inputs,text_gen1=text_gen1):
|
@@ -1185,8 +1203,8 @@ with gr.Blocks(css=css) as myface:
|
|
1185 |
</body>
|
1186 |
</div>
|
1187 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1188 |
-
<h3>Fast Diffusion -
|
1189 |
-
<br><div class="wrapper">2023.
|
1190 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1191 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1192 |
<p style="margin-bottom: 1px; color: #ffffff;">
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"Yntec/526",
|
8 |
+
"Yntec/526Mix",
|
9 |
+
"Yntec/UberRealisticLegacy",
|
10 |
+
"Yntec/fennPhoto",
|
11 |
+
"Yntec/makeitdoubleplz",
|
12 |
+
"Yntec/ChiliConCarne",
|
13 |
+
"Yntec/m0nst3rfy3",
|
14 |
"Yntec/DucHaitenLofi",
|
15 |
"Yntec/DreamWorks",
|
16 |
"Yntec/SillySymphonies",
|
|
|
26 |
"Yntec/Deliberate", #1K
|
27 |
"Yntec/DeliberateRealisticWoop", #1K
|
28 |
"Yntec/EstheticRetroAnime", #1K
|
29 |
+
"Yntec/DucHaiten-GoldenLife",
|
30 |
+
"Yntec/3DCuteWave",
|
31 |
+
"Yntec/GoldenEra", #1K
|
32 |
+
"Yntec/ClassicEra", #1K
|
33 |
+
"Yntec/GoodLife", #1K
|
34 |
+
"Yntec/Hassanim", #1K
|
35 |
"Yntec/DreamWorld", #2K
|
36 |
"Yntec/3DCute", #2K
|
37 |
"Yntec/SuperCuteRemix", #2K
|
38 |
+
"Yntec/Trending", #2K
|
39 |
"Yntec/MGM", #3K
|
40 |
"Yntec/3DKX/", #3K
|
41 |
"Yntec/3DKXv11", #3K
|
|
|
44 |
"Yntec/DucHaitenDarkside4", #3K
|
45 |
"Yntec/Citrus", #3K
|
46 |
"Yntec/Classic", #3K
|
47 |
+
"Yntec/BasilRemix", #3K
|
48 |
"Yntec/BeautyFool", #4K
|
49 |
"Yntec/CyberRealistic", #4K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
"Yntec/Lyriel", #4K
|
51 |
"Yntec/3DRendering", #4K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
"Yntec/aMovieTrend", #2K
|
53 |
"Yntec/Dreamscape", #2K
|
54 |
"Yntec/elldrethSVividMix", #2K
|
|
|
56 |
"Yntec/CitrineDreamMix", #2K
|
57 |
"Yntec/elldrethsImagination", #2K
|
58 |
"Yntec/ReVAnimated768", #2K
|
59 |
+
"Yntec/Dreamful3", #5K
|
60 |
+
"Yntec/BrandiMilne", #6K
|
61 |
"Yntec/dosmixVAE", #3K
|
62 |
"Yntec/aPhotographicTrend", #3K
|
63 |
"Yntec/BeenYou", #3K
|
64 |
+
"Yntec/level4", #3K
|
65 |
+
"Yntec/AbsoluteRemix", #7K
|
66 |
+
"Yntec/mistoonAnime2", #7K
|
67 |
+
"Yntec/DucHaiten-FANCYxFANCY",#7K
|
68 |
"Yntec/3Danimation", #4K
|
69 |
"Yntec/DucHaitenNiji", #4K
|
70 |
"Yntec/Darkside", #4K
|
71 |
"Yntec/animeTEN", #4K
|
72 |
+
"Yntec/Dreamscapes_n_Dragonfire_v2", #4K
|
73 |
+
"Yntec/Cetus", #4K
|
74 |
"Yntec/lamettaRemix", #5K
|
75 |
"Yntec/lametta", #2K
|
76 |
+
"Yntec/RadiantCinemagic", #5K
|
77 |
+
"Yntec/RadiantVibes", #3K
|
78 |
+
"Yntec/NeverEndingDream768", #3K
|
79 |
+
"Yntec/OpenNijiRemix", #3K
|
80 |
+
"Yntec/LAMEanime", #11K
|
81 |
+
"Yntec/Dreamshaper8", #12K
|
82 |
+
"Yntec/Oiran", #6K
|
83 |
"Yntec/RealCartoon3D", #6K
|
84 |
"Yntec/animeTWO", #6K
|
85 |
+
"Yntec/lamettaNightly", #6K
|
86 |
+
"Yntec/REV", #6K
|
87 |
+
"Yntec/Thriller", #13K
|
88 |
"Yntec/Splash", #7K
|
89 |
+
"Yntec/OpenGenDiffusers", #7K
|
|
|
90 |
"Yntec/epiCRealismVAE", #8K
|
91 |
"Yntec/LehinaModel", #8K
|
92 |
"Yntec/NaughtyChildren", #9K
|
|
|
95 |
"Yntec/HassanBlend1512VAE", #9K
|
96 |
"Yntec/animeSEXTILLION/", #15K
|
97 |
"Yntec/AbsoluteReality", #15K
|
98 |
+
"Yntec/CetusRemix", #16K
|
99 |
"Yntec/edgeOfRealism", #25K
|
100 |
"Yntec/aMovieX/", #28K
|
101 |
"Yntec/photoMovieXFinal", #31K
|
102 |
"Yntec/nuipenimix2", #34K
|
103 |
"Yntec/epiCPhotoGasm", #40K
|
104 |
"Yntec/HitenDiffusion", #2K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
"Yntec/Dreamlike",
|
106 |
"Yntec/DeliberateRemix",
|
107 |
"Yntec/DreamShaperRemix",
|
|
|
1115 |
gr.Interface.load(f"models/{models[516]}",live=True,preprocess=False),
|
1116 |
gr.Interface.load(f"models/{models[517]}",live=True,preprocess=False),
|
1117 |
gr.Interface.load(f"models/{models[518]}",live=True,preprocess=False),
|
1118 |
+
gr.Interface.load(f"models/{models[519]}",live=True,preprocess=False),
|
1119 |
+
gr.Interface.load(f"models/{models[520]}",live=True,preprocess=False),
|
1120 |
+
|
1121 |
+
gr.Interface.load(f"models/{models[521]}",live=True,preprocess=False),
|
1122 |
+
gr.Interface.load(f"models/{models[522]}",live=True,preprocess=False),
|
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 |
]
|
1130 |
|
1131 |
def text_it1(inputs,text_gen1=text_gen1):
|
|
|
1203 |
</body>
|
1204 |
</div>
|
1205 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1206 |
+
<h3>Fast Diffusion - All 526 Stable Diffusion models, but why? For your enjoyment!</h3></p>
|
1207 |
+
<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;"> Toys to play with: The models m0nst3rfy3, ChiliConCarne, makeitdoubleplz, fennPhoto, UberRealisticLegacy, 526Mix and 526 have been added!</div>
|
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;">
|