Yntec commited on
Commit
674bc5d
1 Parent(s): adfb0a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +77 -61
app.py CHANGED
@@ -4,83 +4,90 @@ import sys
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",
17
- "Yntec/EstheticRetroAnime",
18
- "Yntec/DreamWorld",
19
- "Yntec/BrandiMilne",
20
- "Yntec/Lyriel", #1K
21
- "Yntec/3DKX", #1K
22
- "Yntec/3DKXv11", #1K
23
- "Yntec/Cute", #1K
24
- "Yntec/DreamFulV2", #1K
25
- "Yntec/DucHaitenDarkside4", #1K
26
- "Yntec/Citrus", #2K
27
- "Yntec/Dreamshaper8", #2K
28
- "Yntec/Dreamful3", #2K
29
- "Yntec/3DRendering", #2K
30
- "Yntec/Classic", #2K
31
  "Yntec/3DCute", #2K
32
- "Yntec/SuperCuteRemix", #3K
33
- "Yntec/mistoonAnime2", #4K
34
- "Yntec/DucHaiten-FANCYxFANCY",#5K
35
- "Yntec/Thriller", #8K
36
- "Yntec/AbsoluteRemix", #5K
37
- "Yntec/AbsoluteReality", #8K
38
- "Yntec/epiCRealismVAE", #7K
39
- "Yntec/OpenNijiRemix", #7K
40
- "Yntec/LAMEanime", #7K
 
 
 
 
41
  "Yntec/GoldenEra", #1K
42
  "Yntec/ClassicEra", #1K
43
  "Yntec/GoodLife", #1K
 
44
  "Yntec/Trending", #2K
45
- "Yntec/Hassanim", #2K
 
 
 
 
 
 
 
 
 
 
 
 
46
  "Yntec/elldrethSVividMix", #2K
47
- "Yntec/dosmixVAE", #2K
48
  "Yntec/elldrethSLucidMix", #2K
49
  "Yntec/CitrineDreamMix", #2K
50
- "Yntec/3Danimation", #3K
51
- "Yntec/DucHaitenNiji", #3K
52
- "Yntec/elldrethsImagination", #3K
53
- "Yntec/ReVAnimated768", #3K
54
- "Yntec/RealCartoon3D", #4K
55
- "Yntec/Oiran", #4K
56
- "Yntec/aMovieTrend", #4K
57
- "Yntec/aPhotographicTrend", #4K
58
- "Yntec/BasilRemix", #4K
59
- "Yntec/3DCuteWave", #1K
60
- "Yntec/DucHaiten-GoldenLife", #1K
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
 
 
 
 
 
 
 
 
 
74
  "Yntec/animeSEXTILLION/", #15K
75
- "Yntec/nuipenimix2", #21K
76
- "Yntec/epiCPhotoGasm", #23K
77
- "Yntec/aMovieX/", #29K
78
- "Yntec/photoMovieXFinal", #30K
 
 
79
  "Yntec/HitenDiffusion", #2K
80
- "Yntec/Dreamscape",
81
- "Yntec/NeverEndingDream768",
82
- "Yntec/HassanBlend12",
83
- "Yntec/HassanBlend1512VAE",
84
  "Yntec/REV",
85
  "Yntec/CetusRemix",
86
  "Yntec/Dreamscapes_n_Dragonfire_v2",
@@ -1092,6 +1099,15 @@ models2=[
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):
@@ -1159,8 +1175,8 @@ with gr.Blocks(css=css) as myface:
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;">
 
4
  from pathlib import Path
5
 
6
  models = [
7
+ "Yntec/DucHaitenLofi",
8
+ "Yntec/DreamWorks",
9
+ "Yntec/SillySymphonies",
10
+ "Yntec/AnythingV3-768",
11
+ "Yntec/MeinaAlter",
12
+ "Yntec/YiffyMix",
13
+ "Yntec/LuckyStrike",
14
  "Yntec/Crayon",
15
  "Yntec/Yuzu",
16
  "Yntec/WoopWoopAnime",
17
  "Yntec/PotaytoPotahto",
 
18
  "Yntec/Protogen",
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
28
+ "Yntec/Cute", #3K
29
+ "Yntec/DreamFulV2", #3K
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
 
56
  "Yntec/elldrethSLucidMix", #2K
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/Oiran", #5K
68
+ "Yntec/lamettaRemix", #5K
 
 
 
 
69
  "Yntec/lametta", #2K
70
+ "Yntec/level4", #5K
71
+ "Yntec/RealCartoon3D", #6K
72
+ "Yntec/animeTWO", #6K
73
+ "Yntec/lamettaNightly", #6K
74
+ "Yntec/Splash", #7K
75
+ "Yntec/OpenNijiRemix", #7K
76
+ "Yntec/NeverEndingDream768", #7K
77
+ "Yntec/epiCRealismVAE", #8K
78
+ "Yntec/LehinaModel", #8K
79
+ "Yntec/NaughtyChildren", #9K
80
+ "Yntec/vividicAnime", #9K
81
+ "Yntec/HassanBlend12", #10
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",
 
1099
  gr.Interface.load(f"models/{models[508]}",live=True,preprocess=False),
1100
  gr.Interface.load(f"models/{models[509]}",live=True,preprocess=False),
1101
  gr.Interface.load(f"models/{models[510]}",live=True,preprocess=False),
1102
+
1103
+ gr.Interface.load(f"models/{models[511]}",live=True,preprocess=False),
1104
+ gr.Interface.load(f"models/{models[512]}",live=True,preprocess=False),
1105
+ gr.Interface.load(f"models/{models[513]}",live=True,preprocess=False),
1106
+ gr.Interface.load(f"models/{models[514]}",live=True,preprocess=False),
1107
+ gr.Interface.load(f"models/{models[515]}",live=True,preprocess=False),
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):
 
1175
  </div>
1176
  <p style="margin-bottom: 1px; color: #ffaa66;">
1177
  <h3>Fast Diffusion - 512 Stable Diffusion models, but why? For your enjoyment!</h3></p>
1178
+ <p style="text-align:center; font-size: 98%">
1179
+ <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.29 The models LuckyStrike, YiffyMix, MeinaAlter, AnythingV3-768, SillySymphonies, DreamWorks and DucHaitenLofi have been added!
1180
  <p style="margin-bottom: 1px; font-size: 98%">
1181
  <br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
1182
  <p style="margin-bottom: 1px; color: #ffffff;">