Yntec commited on
Commit
638eb7f
1 Parent(s): d022b4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +76 -65
app.py CHANGED
@@ -4,68 +4,72 @@ import sys
4
  from pathlib import Path
5
 
6
  models = [
 
 
 
 
7
  "Yntec/BrandiMilne",
8
- "Yntec/Lyriel",
9
- "Yntec/3DKX",
10
- "Yntec/Dreamshaper8",
11
- "Yntec/3DKXv11",
12
- "Yntec/Cute",
13
- "Yntec/DreamFulV2",
14
- "Yntec/Dreamful3",
15
- "Yntec/DucHaitenDarkside4",
16
- "Yntec/3DRendering",
17
- "Yntec/Thriller",
18
- "Yntec/Classic",
19
- "Yntec/mistoonAnime2",
20
- "Yntec/DucHaiten-FANCYxFANCY",
21
- "Yntec/3DCute",
22
- "Yntec/AbsoluteRemix",
23
- "Yntec/AbsoluteReality",
24
- "Yntec/epiCRealismVAE",
25
- "Yntec/OpenNijiRemix",
26
- "Yntec/LAMEanime",
27
- "Yntec/potatoMash",
28
- "Yntec/epiCPhotoGasm",
29
- "Yntec/lamettaNightly",
30
- "Yntec/RealCartoon3D",
31
- "Yntec/Oiran",
32
- "Yntec/elldrethSVividMix",
33
- "Yntec/3Danimation",
34
- "Yntec/Darkside", #1K
35
- "Yntec/nuipenimix2", #1K
36
- "Yntec/dosmixVAE", #1K
37
- "Yntec/elldrethSLucidMix", #1K
38
- "Yntec/DucHaitenNiji", #1K
39
- "Yntec/Citrus", #1K
40
- "Yntec/SuperCuteRemix", #2K
41
- "Yntec/NaughtyChildren", #3K
42
- "Yntec/edgeOfRealism", #3K
43
- "Yntec/HitenDiffusion", #1K
44
- "Yntec/Splash", #4K
45
- "Yntec/animeSEXTILLION/", #6K
46
- "Yntec/CitrineDreamMix", #1K
47
- "Yntec/animeTEN", #3K
48
- "Yntec/level4", #3K
49
- "Yntec/elldrethsImagination", #2K
50
- "Yntec/BeenYou", #2K
51
- "Yntec/animeTWO", #4K
52
- "Yntec/LehinaModel", #7K
53
- "Yntec/Trending",
54
- "Yntec/aMovieTrend",
55
- "Yntec/aPhotographicTrend",
56
- "Yntec/photoMovieXFinal",
57
- "Yntec/aMovieX/",
58
- "Yntec/GoldenEra",
59
- "Yntec/Hassanim",
60
- "Yntec/3DCuteWave",
61
- "Yntec/ClassicEra",
62
- "Yntec/GoodLife",
63
- "Yntec/DucHaiten-GoldenLife",
64
- "Yntec/BasilRemix",
65
- "Yntec/ReVAnimated768",
66
- "Yntec/lamettaRemix",
67
- "Yntec/lametta",
68
- "Yntec/vividicAnime",
69
  "Yntec/Dreamscape",
70
  "Yntec/NeverEndingDream768",
71
  "Yntec/HassanBlend12",
@@ -155,7 +159,6 @@ models = [
155
  "AIARTCHAN/AbyssHellHero",
156
  "digiplay/OldFish_fix1.1.997_diffusers",
157
  "digiplay/VoidnoiseCore_R0829",
158
- "digiplay/MGM",
159
  "digiplay/OldFish_v1.1",
160
  "digiplay/AI-infinity-V1-fp16",
161
  "digiplay/wantan25D_prototype",
@@ -310,6 +313,7 @@ models = [
310
  "wavymulder/lomo-diffusion",
311
  "stablediffusionapi/majicmixv5", #192
312
  "digiplay/mecha_musume_vivid_soft",
 
313
  "digiplay/MiracleMixGlitter_v1",
314
  "digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
315
  "digiplay/NextPhoto_v1",
@@ -1068,6 +1072,11 @@ models2=[
1068
  gr.Interface.load(f"models/{models[497]}",live=True,preprocess=False),
1069
  gr.Interface.load(f"models/{models[498]}",live=True,preprocess=False),
1070
  gr.Interface.load(f"models/{models[499]}",live=True,preprocess=False),
 
 
 
 
 
1071
  ]
1072
 
1073
 
@@ -1134,11 +1143,13 @@ with gr.Blocks(css=css) as myface:
1134
  </div>
1135
  </body>
1136
  </div>
1137
- <p style="margin-bottom: 8px; color: #ffaa66;">
1138
  <h3>Fast Diffusion - 499 Stable Diffusion models, but why? For your enjoyment!</h3></p>
1139
- <p style="margin-bottom: 8px; font-size: 98%">
 
 
1140
  <br><h4>If a model is loaded each new image takes less than 20 seconds to generate!</h4></p>
1141
- <p style="margin-bottom: 8px; color: #ffffff;">
1142
  <br>If you get <span style="color: #ff0000;">ERROR</span> it's because that model ran out of memory, try again, or wait a minute and try again, have fun!</p>
1143
  </div>
1144
  """)
 
4
  from pathlib import Path
5
 
6
  models = [
7
+ "Yntec/MGM",
8
+ "Yntec/CyberRealistic",
9
+ "Yntec/EstheticRetroAnime",
10
+ "Yntec/DreamWorld",
11
  "Yntec/BrandiMilne",
12
+ "Yntec/Lyriel", #1K
13
+ "Yntec/3DKX", #1K
14
+ "Yntec/3DKXv11", #1K
15
+ "Yntec/Cute", #1K
16
+ "Yntec/DreamFulV2", #1K
17
+ "Yntec/DucHaitenDarkside4", #1K
18
+ "Yntec/Citrus", #2K
19
+ "Yntec/Dreamshaper8", #2K
20
+ "Yntec/Dreamful3", #2K
21
+ "Yntec/3DRendering", #2K
22
+ "Yntec/Classic", #2K
23
+ "Yntec/3DCute", #2K
24
+ "Yntec/SuperCuteRemix", #3K
25
+ "Yntec/mistoonAnime2", #4K
26
+ "Yntec/DucHaiten-FANCYxFANCY",#5K
27
+ "Yntec/Thriller", #8K
28
+ "Yntec/AbsoluteRemix", #5K
29
+ "Yntec/AbsoluteReality", #8K
30
+ "Yntec/epiCRealismVAE", #7K
31
+ "Yntec/OpenNijiRemix", #7K
32
+ "Yntec/LAMEanime", #7K
33
+ "Yntec/GoldenEra", #1K
34
+ "Yntec/ClassicEra", #1K
35
+ "Yntec/GoodLife", #1K
36
+ "Yntec/Trending", #2K
37
+ "Yntec/Hassanim", #2K
38
+ "Yntec/elldrethSVividMix", #2K
39
+ "Yntec/dosmixVAE", #2K
40
+ "Yntec/elldrethSLucidMix", #2K
41
+ "Yntec/CitrineDreamMix", #2K
42
+ "Yntec/3Danimation", #3K
43
+ "Yntec/DucHaitenNiji", #3K
44
+ "Yntec/elldrethsImagination", #3K
45
+ "Yntec/ReVAnimated768", #3K
46
+ "Yntec/RealCartoon3D", #4K
47
+ "Yntec/Oiran", #4K
48
+ "Yntec/aMovieTrend", #4K
49
+ "Yntec/aPhotographicTrend", #4K
50
+ "Yntec/BasilRemix", #4K
51
+ "Yntec/3DCuteWave", #1K
52
+ "Yntec/DucHaiten-GoldenLife", #1K
53
+ "Yntec/Darkside", #4K
54
+ "Yntec/animeTEN", #4K
55
+ "Yntec/BeenYou", #4K
56
+ "Yntec/potatoMash", #5K
57
+ "Yntec/level4", #5K
58
+ "Yntec/Splash", #6K
59
+ "Yntec/NaughtyChildren", #6K
60
+ "Yntec/lamettaRemix", #6K
61
+ "Yntec/lametta", #2K
62
+ "Yntec/animeTWO", #7K
63
+ "Yntec/lamettaNightly", #8K
64
+ "Yntec/LehinaModel", #10K
65
+ "Yntec/vividicAnime", #10K
66
+ "Yntec/edgeOfRealism", #14K
67
+ "Yntec/animeSEXTILLION/", #15K
68
+ "Yntec/nuipenimix2", #21K
69
+ "Yntec/epiCPhotoGasm", #23K
70
+ "Yntec/aMovieX/", #29K
71
+ "Yntec/photoMovieXFinal", #30K
72
+ "Yntec/HitenDiffusion", #2K
73
  "Yntec/Dreamscape",
74
  "Yntec/NeverEndingDream768",
75
  "Yntec/HassanBlend12",
 
159
  "AIARTCHAN/AbyssHellHero",
160
  "digiplay/OldFish_fix1.1.997_diffusers",
161
  "digiplay/VoidnoiseCore_R0829",
 
162
  "digiplay/OldFish_v1.1",
163
  "digiplay/AI-infinity-V1-fp16",
164
  "digiplay/wantan25D_prototype",
 
313
  "wavymulder/lomo-diffusion",
314
  "stablediffusionapi/majicmixv5", #192
315
  "digiplay/mecha_musume_vivid_soft",
316
+ "digiplay/MGM",
317
  "digiplay/MiracleMixGlitter_v1",
318
  "digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
319
  "digiplay/NextPhoto_v1",
 
1072
  gr.Interface.load(f"models/{models[497]}",live=True,preprocess=False),
1073
  gr.Interface.load(f"models/{models[498]}",live=True,preprocess=False),
1074
  gr.Interface.load(f"models/{models[499]}",live=True,preprocess=False),
1075
+
1076
+ gr.Interface.load(f"models/{models[500]}",live=True,preprocess=False),
1077
+ gr.Interface.load(f"models/{models[501]}",live=True,preprocess=False),
1078
+ gr.Interface.load(f"models/{models[502]}",live=True,preprocess=False),
1079
+ gr.Interface.load(f"models/{models[503]}",live=True,preprocess=False),
1080
  ]
1081
 
1082
 
 
1143
  </div>
1144
  </body>
1145
  </div>
1146
+ <p style="margin-bottom: 4px; color: #ffaa66;">
1147
  <h3>Fast Diffusion - 499 Stable Diffusion models, but why? For your enjoyment!</h3></p>
1148
+ <p style="margin-bottom: 4px; font-size: 98%">
1149
+ <br><h4><img src="https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/NEW.webp" alt="NEW!">2023.10.17 MGM Model added as requested by classicmaniagames!</h4></p>
1150
+ <p style="margin-bottom: 4px; font-size: 98%">
1151
  <br><h4>If a model is loaded each new image takes less than 20 seconds to generate!</h4></p>
1152
+ <p style="margin-bottom: 4px; color: #ffffff;">
1153
  <br>If you get <span style="color: #ff0000;">ERROR</span> it's because that model ran out of memory, try again, or wait a minute and try again, have fun!</p>
1154
  </div>
1155
  """)