Yntec commited on
Commit
c125ecc
1 Parent(s): 57b714c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -13
app.py CHANGED
@@ -4,6 +4,13 @@ import sys
4
  from pathlib import Path
5
 
6
  models = [
 
 
 
 
 
 
 
7
  "Yntec/BeautyFool",
8
  "Yntec/MGM",
9
  "Yntec/CyberRealistic",
@@ -54,14 +61,13 @@ models = [
54
  "Yntec/Darkside", #4K
55
  "Yntec/animeTEN", #4K
56
  "Yntec/BeenYou", #4K
57
- "Yntec/potatoMash", #5K
58
  "Yntec/level4", #5K
59
  "Yntec/Splash", #6K
60
  "Yntec/NaughtyChildren", #6K
61
  "Yntec/lamettaRemix", #6K
 
62
  "Yntec/lametta", #2K
63
  "Yntec/animeTWO", #7K
64
- "Yntec/lamettaNightly", #8K
65
  "Yntec/LehinaModel", #10K
66
  "Yntec/vividicAnime", #10K
67
  "Yntec/edgeOfRealism", #14K
@@ -158,6 +164,7 @@ models = [
158
  "Yntec/NovelAIRemix",
159
  "Yntec/Hiten",
160
  "AIARTCHAN/AbyssHellHero",
 
161
  "digiplay/OldFish_fix1.1.997_diffusers",
162
  "digiplay/VoidnoiseCore_R0829",
163
  "digiplay/OldFish_v1.1",
@@ -210,7 +217,6 @@ models = [
210
  "prompthero/midjourney-v4-diffusion",
211
  "prompthero/openjourney-v4",
212
  "x67/shortjourney",
213
- "darkstorm2150/Protogen_v2.2_Official_Release",
214
  "FredZhang7/paint-journey-v2",
215
  "digiplay/PersonaStyleCheckpoint",
216
  "darkstorm2150/Protogen_Infinity_Official_Release",
@@ -348,6 +354,7 @@ models = [
348
 
349
  "circulus/sd-anireal-v2.7",
350
  "0xJustin/Dungeons-and-Diffusion",
 
351
  "Guizmus/SDArt_AliceInDiffusionLand",
352
  "stablediffusionapi/realistic-vision-v20-2047",
353
  "redstonehero/RPG-v5-itr17_A10T",
@@ -1079,8 +1086,13 @@ models2=[
1079
  gr.Interface.load(f"models/{models[502]}",live=True,preprocess=False),
1080
  gr.Interface.load(f"models/{models[503]}",live=True,preprocess=False),
1081
  gr.Interface.load(f"models/{models[504]}",live=True,preprocess=False),
 
 
 
 
 
 
1082
  ]
1083
-
1084
 
1085
  def text_it1(inputs,text_gen1=text_gen1):
1086
  go_t1=text_gen1(inputs)
@@ -1145,15 +1157,13 @@ with gr.Blocks(css=css) as myface:
1145
  </div>
1146
  </body>
1147
  </div>
1148
- <p style="margin-bottom: 2px; color: #ffaa66;">
1149
- <h3>Fast Diffusion - 499 Stable Diffusion models, but why? For your enjoyment!</h3></p>
1150
- <p style="margin-bottom: 2px; font-size: 98%">
1151
- <br><h4><img src="https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/NEW.webp" alt="NEW!" style="float:left;width:32px;height:16px;">2023.10.18 BeautyFool Model added as requested by Koolpix!</h4></p>
1152
- <p style="margin-bottom: 2px; font-size: 98%">
1153
- <br><h4><img src="https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/NEW.webp" alt="NEW!" style="float:left;width:32px;height:16px;">2023.10.17 MGM Model added as requested by classicmaniagames!</h4></p>
1154
- <p style="margin-bottom: 2px; font-size: 98%">
1155
- <br><h4>If a model is loaded each new image takes less than 20 seconds to generate!</h4></p>
1156
- <p style="margin-bottom: 2px; color: #ffffff;">
1157
  <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>
1158
  </div>
1159
  """)
 
4
  from pathlib import Path
5
 
6
  models = [
7
+ "Yntec/Crayon",
8
+ "Yntec/Yuzu",
9
+ "Yntec/WoopWoopAnime",
10
+ "Yntec/PotaytoPotahto",
11
+ "Yntec/Deliberate",
12
+ "Yntec/Protogen",
13
+ "Yntec/DeliberateRealisticWoop",
14
  "Yntec/BeautyFool",
15
  "Yntec/MGM",
16
  "Yntec/CyberRealistic",
 
61
  "Yntec/Darkside", #4K
62
  "Yntec/animeTEN", #4K
63
  "Yntec/BeenYou", #4K
 
64
  "Yntec/level4", #5K
65
  "Yntec/Splash", #6K
66
  "Yntec/NaughtyChildren", #6K
67
  "Yntec/lamettaRemix", #6K
68
+ "Yntec/lamettaNightly",
69
  "Yntec/lametta", #2K
70
  "Yntec/animeTWO", #7K
 
71
  "Yntec/LehinaModel", #10K
72
  "Yntec/vividicAnime", #10K
73
  "Yntec/edgeOfRealism", #14K
 
164
  "Yntec/NovelAIRemix",
165
  "Yntec/Hiten",
166
  "AIARTCHAN/AbyssHellHero",
167
+ "digiplay/VersaMix_base_diffusers",
168
  "digiplay/OldFish_fix1.1.997_diffusers",
169
  "digiplay/VoidnoiseCore_R0829",
170
  "digiplay/OldFish_v1.1",
 
217
  "prompthero/midjourney-v4-diffusion",
218
  "prompthero/openjourney-v4",
219
  "x67/shortjourney",
 
220
  "FredZhang7/paint-journey-v2",
221
  "digiplay/PersonaStyleCheckpoint",
222
  "darkstorm2150/Protogen_Infinity_Official_Release",
 
354
 
355
  "circulus/sd-anireal-v2.7",
356
  "0xJustin/Dungeons-and-Diffusion",
357
+ "darkstorm2150/Protogen_v2.2_Official_Release",
358
  "Guizmus/SDArt_AliceInDiffusionLand",
359
  "stablediffusionapi/realistic-vision-v20-2047",
360
  "redstonehero/RPG-v5-itr17_A10T",
 
1086
  gr.Interface.load(f"models/{models[502]}",live=True,preprocess=False),
1087
  gr.Interface.load(f"models/{models[503]}",live=True,preprocess=False),
1088
  gr.Interface.load(f"models/{models[504]}",live=True,preprocess=False),
1089
+ gr.Interface.load(f"models/{models[505]}",live=True,preprocess=False),
1090
+ gr.Interface.load(f"models/{models[506]}",live=True,preprocess=False),
1091
+ gr.Interface.load(f"models/{models[507]}",live=True,preprocess=False),
1092
+ gr.Interface.load(f"models/{models[508]}",live=True,preprocess=False),
1093
+ gr.Interface.load(f"models/{models[509]}",live=True,preprocess=False),
1094
+ gr.Interface.load(f"models/{models[510]}",live=True,preprocess=False),
1095
  ]
 
1096
 
1097
  def text_it1(inputs,text_gen1=text_gen1):
1098
  go_t1=text_gen1(inputs)
 
1157
  </div>
1158
  </body>
1159
  </div>
1160
+ <p style="margin-bottom: 1px; color: #ffaa66;">
1161
+ <h3>Fast Diffusion - 512 Stable Diffusion models, but why? For your enjoyment!</h3></p>
1162
+ <p style="margin-bottom: 1px; font-size: 98%">
1163
+ <br><h4><img src="https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/NEW.webp" alt="NEW!" style="float:center;width:32px;height:16px;">2023.10.22 The models DeliberateRealisticWoop, Protogen, Deliberate, PotaytoPotahto, WoopWoopAnime, Yuzu and Crayon have been added!
1164
+ <p style="margin-bottom: 1px; font-size: 98%">
1165
+ <br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
1166
+ <p style="margin-bottom: 1px; color: #ffffff;">
 
 
1167
  <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>
1168
  </div>
1169
  """)