Geek7 commited on
Commit
6e3cb76
1 Parent(s): 1f69743

Upload 3 files

Browse files
Files changed (3) hide show
  1. all_models.py +978 -0
  2. app.py +174 -0
  3. externalmod.py +585 -0
all_models.py ADDED
@@ -0,0 +1,978 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ models = [
2
+ "Yntec/HarukaChibiArt", #932
3
+ "Yntec/f222", #930
4
+ "Yntec/Lexicon", #929
5
+ "Yntec/JustForKicks", #925
6
+ "Yntec/RealTime", #924
7
+ "digiplay/Sudachi_diffusers",
8
+ "Yntec/PopCorn", #923
9
+ "digiplay/AingDiffusion6",
10
+ "Yntec/OpenSkySLexicaAperture", #928
11
+ "digiplay/MeinaMix_v7",
12
+ "Yntec/GrandPrix", #916
13
+ "digiplay/MGM",
14
+ "Yntec/NostalgicWorld", #919
15
+ "digiplay/asyncsMIX_v5",
16
+ "Yntec/IncredibleOdds", #915
17
+ "digiplay/Yuzu_v1.1", #688
18
+ "Yntec/Genesis", #911
19
+ "digiplay/CamelliaMIx_2.5D_v1", #692
20
+ "Yntec/NextPhoton", #910
21
+ "digiplay/CoharuMix_real",
22
+ "Yntec/LadyNostalgia", #909
23
+ "digiplay/BlueberryMix_v1", #912
24
+ "Yntec/PicXReal", #922
25
+ "digiplay/AI-infinity-V1-fp16",
26
+ "Yntec/GameIcons3D", #921
27
+ "digiplay/SomethingPhenomenal_vivacityV2", #735
28
+ "Yntec/Shiny3DCartoon", #914
29
+ "digiplay/chrysanthemumMix_v1",
30
+ "Yntec/darelitesFantasyMix", #908
31
+ "digiplay/majicMIX_realistic_v1",
32
+ "Yntec/handpaintedRPGIcons", #906
33
+ "digiplay/HIJKLMix_v2",
34
+ "Yntec/MemojiRemix", #905
35
+ "digiplay/Koji_v2.1_diffusers",
36
+ "Yntec/StaticMVintage", #903
37
+ "digiplay/ZHMix-Dramatic-v3.0",
38
+ "Yntec/animeFIVEHUNDREDTWENTY-SIX", #902
39
+ "digiplay/Gap",
40
+ "Yntec/3DCartoonVision", #901
41
+ "digiplay/SXZ_Luma_v0.98VAE",
42
+ "Yntec/TwoAndAHalfDimensions", #900
43
+ "digiplay/EdisonNilMix_v1", # Added 7.10 Updated 12.5
44
+ "Yntec/RadiantDiversions", #899
45
+ "digiplay/MengX_Mix_Fantasy_v4", #689
46
+ "Yntec/RetroRetro", #897
47
+ "digiplay/PlanetBumix_v1",
48
+ "Yntec/ClassicToons", #897
49
+ "digiplay/OnlyReal-Black-Mix",
50
+ "Yntec/Disneyify", #896
51
+ "black-forest-labs/FLUX.1-schnell", #876
52
+ "digiplay/supashymix_v30Lite", #701
53
+ "Yntec/epiCEpic", #889
54
+ "LostMedia/RetroDiffusion", #894
55
+ "Yntec/QGO", #893
56
+ "digiplay/seizamix_v2", #706
57
+ "Yntec/PixelKicks", #895
58
+ "digiplay/majicMIX_lux_v3", #708
59
+ "Yntec/VisionVision", #888
60
+ "LostMedia/0-1982-1084-0065", #892
61
+ "Yntec/m0nst3rfy3",
62
+ "digiplay/fantasticAnime_diffusers",
63
+ "Yntec/photographerAlpha7", #891
64
+ "digiplay/richyrichmix_V2Fp16", #707
65
+ "Yntec/ChunkyCat", #880
66
+ "digiplay/dosmixVAE-mangled", #804
67
+ "Yntec/TickleYourFancy", #879
68
+ "digiplay/fCAnimeMix_v4", #747
69
+ "Yntec/realistic-vision-v13", #886
70
+ "John6666/naclo74models-mih-entrance-sd15", #883
71
+ "Yntec/ZootVision", #884
72
+ "digiplay/HadrianDelice_BYC1.0", #728
73
+ "Yntec/breakdomain", #882
74
+ "digiplay/PerfectDeliberate-Anime_v1", #724
75
+ "Yntec/CrystalClearRemix", ##4
76
+ "digiplay/BreakDro_i1464", #719
77
+ "Yntec/AllRoadsLeadToRetro", #877
78
+ "digiplay/mothmix_v1.41", #720
79
+ "Yntec/AnimephilesAnonymous", #875
80
+ "digiplay/CCTV2.5d_v1", #219
81
+ "Yntec/InsaneSurreality", #873
82
+ "digiplay/bluePencil_v09b", #766
83
+ "Yntec/WinningBlunder", #868
84
+ "digiplay/Colorful_v1.3", #774
85
+ "Yntec/DreamlikePhotoReal2", #872
86
+ "digiplay/BeenYouLiteL11_diffusers",
87
+ "Yntec/Surreality", #870
88
+ "digiplay/xxgSl526_v1", ##400
89
+ "Yntec/beLIEve", #865
90
+ "digiplay/MilkyWonderland_v1", #866
91
+ "Yntec/Hyperlink", #861
92
+ "digiplay/AnalogMadness-realistic-model-v5", #864
93
+ "Yntec/HyperRemix", #859
94
+ "digiplay/RunDiffusionFX2.5D_v1_diffusers",
95
+ "Yntec/realisticStockPhoto3", #863
96
+ "digiplay/fishmix_other_v1",
97
+ "Yntec/HyperPhotoGASM", #858
98
+ "digiplay/XRYCJ_RealisticModel",
99
+ "Yntec/CrystalReality", #855
100
+ "John6666/meinamix-meinav11-sd15", #857
101
+ "Yntec/Roleplay", #850
102
+ "digiplay/ya3p_VAE", #258
103
+ "Yntec/ICantBelieveItSNotPhotography", #856
104
+ "digiplay/ZemiHR_v2_diffusers",
105
+ "Yntec/Neurogen", #854
106
+ "John6666/am-i-real-v45-sd15", #852
107
+ "Yntec/lnkdn", #851
108
+ "digiplay/ShadowGost_v1",
109
+ "Yntec/ArtisticVision", #845
110
+ "digiplay/DetailAsianRealistic_v2.5_hinablue", #849
111
+ "Yntec/Chip_n_DallE", #844
112
+ "digiplay/rRealism_v1.0_riiwa", #848
113
+ "Yntec/ClayStyle", #838
114
+ "digiplay/TWingshadow_v1.0", #847
115
+ "Yntec/HassanRemix",
116
+ "digiplay/TWingshadow_v1.0_finetune", #846
117
+ "Yntec/Reddit",
118
+ "digiplay/V3_by_Hans_Asian",
119
+ "Yntec/CinematicReality",
120
+ "digiplay/Maji5PlusCCTV", #843
121
+ "Yntec/3DKX2",
122
+ "digiplay/cosfMix_v1", #223
123
+ "Yntec/Epsilon_Naught", #831
124
+ "digiplay/LusterMix_v1.5_safetensors", #256
125
+ "Yntec/TrueSight", #841
126
+ "digiplay/XtReMixUltimateMerge_v1.8", #840
127
+ "Yntec/epiCDream", #839
128
+ "digiplay/counterfeitV2525d_tweak",
129
+ "Yntec/Ponygraphy", #827
130
+ "digiplay/m3u", #263
131
+ "Yntec/DucHaitenGODofSIMP", #836
132
+ "digiplay/STRANGER-ANIME", #835
133
+ "Yntec/ElldrethSDaydreamMix", #834
134
+ "digiplay/DonutHoleMix_Beta", #832
135
+ "Yntec/DramaLlama", #820
136
+ "digiplay/STRANGER", #816
137
+ "Yntec/RevAnimatedV2Rebirth", #829
138
+ "digiplay/KawaiiRealisticAsian_v0.7", #828
139
+ "Yntec/ZootVisionEpsilon", #817
140
+ "digiplay/AsianBrmBeautyrealmix_v2.0", #826
141
+ "Yntec/BetterPonyDiffusion", #825
142
+ "digiplay/Realisian_v6", #824
143
+ "Yntec/SCMIX_NightSkyMeina", #823
144
+ "digiplay/chosen-Mix", #821
145
+ "Yntec/ZooFun", #815
146
+ "digiplay/OnlyRealistic_v29", #819
147
+ "Yntec/Wonder", #812
148
+ "digiplay/2K-VAE",
149
+ "Yntec/WaifuDiffusion", #822
150
+ "digiplay/Cetus-Mix-Codaedition_diffusers", #813
151
+ "Yntec/TheWonderMix", #814
152
+ "digiplay/HenmixArt_v1",
153
+ "Yntec/MostClassical", #810
154
+ "digiplay/m0nst3rfy3-testfix", #811
155
+ "Yntec/DreamlikeShaper", #806
156
+ "Ojimi/anime-kawai-diffusion",
157
+ "Yntec/DreamShaperRemix", #2K
158
+ "digiplay/MilkyWonderland_v2", #808
159
+ "Yntec/DigitalSoul", #807
160
+ "digiplay/incursiosMemeDiffusion_v1.6",
161
+ "Yntec/ProjectKawai", #809
162
+ "digiplay/CamelliaMix_NSFW_diffusers_v1.1", #837
163
+ "Yntec/AbsoluteReality", #15K
164
+ "digiplay/PikasAnimatedMix_v1", #805
165
+ "Yntec/BeautyFoolRemix", #800
166
+ "digiplay/yiSMix2.8D_v1", ##600
167
+ "Yntec/DisneyPixarCartoon768", #803
168
+ "digiplay/AgainMix_v2.0", #802
169
+ "Yntec/mistoonRuby3", #801
170
+ "digiplay/OldFish_v1.1",
171
+ "Yntec/AtoZ", #799
172
+ "digiplay/fantasticmix_k1", #797
173
+ "Yntec/FilmGirlRemix", #795
174
+ "digiplay/hellopure_v2.23", ##1K
175
+ "Yntec/Vintage", #794
176
+ "digiplay/BeautyFoolReality_4", #796
177
+ "Yntec/UltraHighDefinition", #791
178
+ "digiplay/endlessMixRenatus_v1.1", #Added 2023.07.10 updated 2024.05.30
179
+ "Yntec/XenoGASM", #793
180
+ "digiplay/DarkSushi2.5D_v1", #792
181
+ "Yntec/DegreesOfFreedom", #790
182
+ "digiplay/Perfect_Gap_Blend_v1",
183
+ "Yntec/ChickFlick", #787
184
+ "digiplay/fCAnimeMix_v3", #786
185
+ "Yntec/Film", #784
186
+ "digiplay/BeautifulArt_v1", #785
187
+ "Yntec/AnythingV7", #779
188
+ "digiplay/BadAnime_v1",
189
+ "Yntec/LEOSAMsFilmGirlUltra", #783
190
+ "digiplay/7pa-VAE", #782
191
+ "Yntec/ArthemyComics", #781
192
+ "digiplay/EtherRealMix_LUX2",
193
+ "Yntec/ReVAnimatedRemix", #780
194
+ "digiplay/majicMIXfantasy_v1", ##700
195
+ "Yntec/AnythingNostalgic", #775
196
+ "digiplay/WhiteDreamyHillMix_v1_VAE", #713
197
+ "Yntec/AnyLoRa-768", #778
198
+ "digiplay/CuriousMerge2.5D_v40E", #771
199
+ "Yntec/AnythingV5-768", #777
200
+ "digiplay/LEAU",
201
+ "Yntec/Moistalgia", #773
202
+ "digiplay/AnalogMadness-realistic-model-v7", #842
203
+ "Yntec/DeleteThis", #770
204
+ "digiplay/LemonTea2.5D",
205
+ "Yntec/ModernDisney", #764
206
+ "John6666/cute-illustration-style-reinforced-model-v61-sd15", #878
207
+ "Yntec/IsThisDisney", #767
208
+ "digiplay/MRMD_0505", #769
209
+ "Yntec/RetroArt", #760
210
+ "digiplay/YabaLMixAnimeRealistic_V1.0_VAE", #765
211
+ "Yntec/Fanatic", #758
212
+ "digiplay/fantastel_V1", #759
213
+ "Yntec/Mo-Di-Diffusion-768", #768
214
+ "digiplay/WhiteDreamyHillMix_v1", #220
215
+ "Yntec/AnythingV4.5.6.7.8", #763
216
+ "digiplay/majicMIX_realistic_v7", #761
217
+ "Yntec/ElldrethsRetroMix", #4K
218
+ "digiplay/LemonCreami", #762
219
+ "Yntec/Luxury", #750
220
+ "digiplay/insaneRealistic_v1",
221
+ "Yntec/EpicMadness", #751
222
+ "digiplay/ValMix2-byHemlok", #755
223
+ "Yntec/DucHaitenAIart-beta", #3K
224
+ "digiplay/Acorn_Photo_v1", #757
225
+ "Yntec/a-ZovyaRPGV4", #756
226
+ "digiplay/Gap_2.6",
227
+ "Yntec/KrazyGlue", #745
228
+ "digiplay/AnyPastel", #752
229
+ "Yntec/EpicDiffusion", #753
230
+ "digiplay/darkphoenix3D_v1.1", #748
231
+ "Yntec/Crybaby", #739
232
+ "digiplay/majicMIXfantasy_v2", #741
233
+ "Yntec/majicmixLux", #749
234
+ "digiplay/asyncsMIX_v2",
235
+ "digiplay/majicMIX_realistic_v5", #742
236
+ "Yntec/insaneRealistic_v2", #746
237
+ "digiplay/xiaomeige_outlineColor_v10", #744
238
+ "digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
239
+ "Yntec/AbyssOrangeMix", #740
240
+ "digiplay/PerfectDeliberate-Anime_v2", #734
241
+ "digiplay/XXMix_9realistic_v1",
242
+ "Yntec/CocaCola", #733
243
+ "digiplay/majicMixHorror_v1", #738
244
+ "digiplay/Noosphere_v4.2", #737
245
+ "Yntec/Fanta", #730
246
+ "digiplay/K-main_NEO", #731
247
+ "digiplay/COCOtiFaMix_v2", #732
248
+ "Yntec/endlessReality", #736
249
+ "digiplay/Blazarot_blazaroshi", #729
250
+ "digiplay/Photon_v1",
251
+ "Yntec/DreamPhotoGASM", #727
252
+ "digiplay/Sweet-mix_v2.2_flat", #726
253
+ "digiplay/snowpear_anime", #714
254
+ "Yntec/NostalgicLife", #718
255
+ "digiplay/pan04", #725
256
+ "Yntec/Voxel", #715
257
+ "digiplay/FishMix_v1.1",
258
+ "digiplay/Dolka_Rusalka_v0.5.1",
259
+ "Yntec/DreamlikeDiffusion", #722
260
+ "digiplay/XtReMixUltimateMerge_v1.5", #710
261
+ "digiplay/YabaLMixTrue25D_V1.0", ##900
262
+ "Yntec/HyperRealism", #721
263
+ "digiplay/CamelliaMIx_2.5D_v1_VAE", #696
264
+ "digiplay/aurorafantasy_v1", #717
265
+ "Yntec/Prodigy", #712
266
+ "digiplay/ya3_xt", #711
267
+ "Yntec/Protogen_Unofficial_Release", #709
268
+ "digiplay/AnalogMadness-realistic-model-v4", #705
269
+ "Yntec/Timeless", #703
270
+ "digiplay/2-KWI", #213 ##900
271
+ "Yntec/Fabulous", #700
272
+ "digiplay/realspice_v2", #702
273
+ "Yntec/DucHaitenRetro2", #704
274
+ "digiplay/BeautifulFantasyRealMix_diffusers", #698
275
+ "Yntec/IncredibleLife", #699
276
+ "digiplay/NextGenMix_R2.8VAE",
277
+ "Yntec/AnythingV3.1", #699
278
+ "digiplay/AstrAnime_v6", #698
279
+ "Yntec/TimelessDiffusion768", #699
280
+ "digiplay/YutaMix_realistic_v11",
281
+ "Yntec/RetroLife", #691
282
+ "digiplay/nk15_diffusers", #230
283
+ "Yntec/CuteFurry",
284
+ "digiplay/NightmareShaper_v2DarkageLobotomy",
285
+ "Yntec/theallysMixIIChurned", #694
286
+ "digiplay/MengX_Mix_Real_v3",
287
+ "Yntec/BrainDance", #693
288
+ "digiplay/ARRealVX1.1",
289
+ "Yntec/Remedy", #697
290
+ "digiplay/Hassaku_1.3", #830
291
+ "Yntec/Paramount",
292
+ "digiplay/BeenReal_diffusers",
293
+ "Yntec/Playground", #690
294
+ "digiplay/AM-mix1",
295
+ "Yntec/Analog",
296
+ "digiplay/MeinaPastel_v1",
297
+ "Yntec/Tea", #687
298
+ "digiplay/AingDiffusion7.5",
299
+ "Yntec/StableDiffusion768", #686
300
+ "digiplay/perfectlevel10", #685
301
+ "Yntec/IdleFancy",
302
+ "digiplay/Shadir_Diffusion_AR_v2.1_fp16_test1",
303
+ "Yntec/NyankoMotsiX",
304
+ "digiplay/GhostMixV1.2VAE",
305
+ "Yntec/DreamWorksRemix",
306
+ "digiplay/LuckyStrikeMix1.05_Lovelylady",
307
+ "Yntec/Looking-Glass",
308
+ "digiplay/AbsoluteReality_v1.0_diffusers",
309
+ "Yntec/epiCCartoon",
310
+ "digiplay/quincemix_v1",
311
+ "Yntec/DaintyMix",
312
+ "digiplay/fantasticmix_v7",
313
+ "Yntec/DucHaiten-AnyUnreal",
314
+ "digiplay/fantexi_v0.9",
315
+ "Yntec/Genuine",
316
+ "digiplay/OrangeChillMix_v7fix",
317
+ "Yntec/GoFish",
318
+ "digiplay/bluePencilRealistic_v05",
319
+ "Yntec/nuipenimix",
320
+ "digiplay/A80S_v1.0",
321
+ "Yntec/iffyMix",
322
+ "digiplay/lutDiffusion_v09Beta",
323
+ "Yntec/EmeraldCity",
324
+ "digiplay/CleanLinearMix",
325
+ "Yntec/animeSIXTYNINE",
326
+ "digiplay/PolyMorphMix",
327
+ "Yntec/AsianMix",
328
+ "digiplay/polla_mix_2.3D",
329
+ "Yntec/ResidentCNZCartoon3D",
330
+ "digiplay/AbsoluteReality_v1.8.1",
331
+ "Yntec/Memento",
332
+ "digiplay/RealCartoon3D_v6",
333
+ "Yntec/RealLife",
334
+ "digiplay/WolfSystems_v1",
335
+ "Yntec/Vintedois",
336
+ "Yntec/Based64",
337
+ "Yntec/SQUEE",
338
+ "Yntec/Aurora",
339
+ "Yntec/Paragon",
340
+ "Yntec/Infinite80s",
341
+ "Yntec/InfiniteLiberty",
342
+ "Yntec/aBagOfChips",
343
+ "Yntec/IsThisArt",
344
+ "Yntec/Jackpot",
345
+ "Yntec/C-.-_-.-Aravaggio",
346
+ "Yntec/Stuff",
347
+ "Yntec/LiberteRedmond",
348
+ "Yntec/Emoticons",
349
+ "Yntec/BabeBae",
350
+ "Yntec/SinkOrSwim",
351
+ "Yntec/Nostalgic",
352
+ "Yntec/mixRealisticFantasy",
353
+ "Yntec/Astro_-_-Gemu",
354
+ "John6666/cookie-run-character-style-v1-sd15-lora", #853
355
+ "Yntec/StorybookRedmond",
356
+ "Yntec/Cheesecake",
357
+ "Yntec/GimmeDatDing",
358
+ "Yntec/GenerateMe",
359
+ "Yntec/Gacha",
360
+ "Yntec/incha_re_zoro",
361
+ "Yntec/GodMode",
362
+ "Yntec/FantassifiedIcons",
363
+ "Yntec/IncredibleWorld2",
364
+ "Yntec/IncredibleWorld",
365
+ "Yntec/TheDarkNight",
366
+ "Yntec/Cryptids",
367
+ "Yntec/Tantrum",
368
+ "Yntec/CutesyAnime",
369
+ "Yntec/HellSKitchen",
370
+ "Yntec/Kitsch-In-Sync",
371
+ "Yntec/La-dee-dah-.-_",
372
+ "Yntec/HELLmix",
373
+ "Yntec/AnalogMadness4",
374
+ "Yntec/Wonderland",
375
+ "Yntec/Atlas",
376
+ "Yntec/KomowataHaruka",
377
+ "Yntec/FotoPhoto",
378
+ "Yntec/Ambrosia",
379
+ "Yntec/Reliberate",
380
+ "Yntec/BaronMix",
381
+ "Yntec/ChilloutMix",
382
+ "Yntec/Shirayuki",
383
+ "Yntec/foto-assisted-diffusion",
384
+ "Yntec/elldrethSDreamMix",
385
+ "Yntec/mistoonEmerald2",
386
+ "Yntec/AnythingRemix",
387
+ "Yntec/AnalogMadness",
388
+ "Yntec/IronCatFateToons",
389
+ "Yntec/CultClassic", #1K
390
+ "Yntec/samaritan3dCartoon2MVAE", #1K
391
+ "Yntec/Crystalwave", #1k
392
+ "Yntec/Synthwave",
393
+ "Yntec/OG", #1k
394
+ "Yntec/Crayon", #1K
395
+ "Yntec/LuckyStrike", #1K
396
+ "Yntec/Deliberate", #1K
397
+ "Yntec/DeliberateRealisticWoop", #1K
398
+ "Yntec/EstheticRetroAnime", #1K
399
+ "Yntec/DucHaiten-GoldenLife",
400
+ "Yntec/3DCuteWave",
401
+ "Yntec/GoldenEra", #1K
402
+ "Yntec/ClassicEra", #1K
403
+ "Yntec/GoodLife", #1K
404
+ "Yntec/Hassanim", #1K
405
+ "Yntec/DeliberateRemix", #1K
406
+ "Yntec/HassanBlend12", #1K
407
+ "Yntec/HassanBlend1512VAE", #1K
408
+ "Yntec/MangledMerge3_768", #1K
409
+ "Yntec/OpenLexica", #1K
410
+ "Yntec/MapleSyrup", #1K
411
+ "Yntec/iComixRemix", #1K
412
+ "Yntec/SamaritanDoesArt", #1K
413
+ "Yntec/CinemaEros", #1K
414
+ "Yntec/CartoonStyleClassic", #1K
415
+ "Yntec/GalenaVAE", #1K
416
+ "Yntec/a-ZovyaRemix", #1K
417
+ "Yntec/a-ZovyaRPGArtistV2VAE", #2K
418
+ "Yntec/MemeDiffusion", #2K
419
+ "Yntec/Abased", #2k
420
+ "Yntec/SCMix", #2k
421
+ "Yntec/Hassaku", #2k
422
+ "Yntec/PotaytoPotahto", #2K
423
+ "Yntec/3DCute", #2K
424
+ "Yntec/SuperCuteRemix", #2K
425
+ "Yntec/Trending", #2K
426
+ "Yntec/a-ZovyaRPGV3VAE", #3K
427
+ "Yntec/StolenDreams", #3k
428
+ "Yntec/LeyLines", #3k
429
+ "Yntec/SillySymphonies", #3K
430
+ "Yntec/MeinaAlter", #3K
431
+ "Yntec/WoopWoopAnime", #3K
432
+ "Yntec/DreamWorld", #3K
433
+ "Yntec/MGM", #3K
434
+ "Yntec/3DKX/", #3K
435
+ "Yntec/3DKXv11", #3K
436
+ "Yntec/Cute", #3K
437
+ "Yntec/DreamFulV2", #3K
438
+ "Yntec/DucHaitenDarkside4", #3K
439
+ "Yntec/Citrus", #3K
440
+ "Yntec/Classic", #3K
441
+ "Yntec/BasilRemix", #3K
442
+ "Yntec/Yuzu", #4K
443
+ "Yntec/Protogen", #4K
444
+ "Yntec/BeautyFool", #4K
445
+ "Yntec/CyberRealistic", #4K
446
+ "Yntec/Lyriel", #4K
447
+ "Yntec/3DRendering", #4K
448
+ "Yntec/aMovieTrend", #2K
449
+ "Yntec/Dreamscape", #2K
450
+ "Yntec/elldrethSVividMix", #2K
451
+ "Yntec/elldrethSLucidMix", #2K
452
+ "Yntec/CitrineDreamMix", #2K
453
+ "Yntec/elldrethsImagination", #2K
454
+ "Yntec/ReVAnimated768", #2K
455
+ "Yntec/OpenNijiRemix", #2K
456
+ "Yntec/RadiantCinemagic", #2K
457
+ "Yntec/RadiantVibes", #1K
458
+ "Yntec/NeverEndingDream768", #2K
459
+ "Yntec/vividicAnime", #2K
460
+ "Yntec/WoopWoopRemix", #2K
461
+ "Yntec/ArcticFowl", #2K
462
+ "Yntec/CrystalClear", #3k
463
+ "Yntec/Reanimate", #5k
464
+ "Yntec/Deliberate2", #5k
465
+ "Yntec/526", #5k
466
+ "Yntec/526Mix", #5k
467
+ "Yntec/Dreamful3", #5K
468
+ "Yntec/theAllysMixIIIRevolutions", #6k
469
+ "Yntec/UberRealisticLegacy", #6k
470
+ "Yntec/BrandiMilne", #6K
471
+ "Yntec/dosmixVAE", #3K
472
+ "Yntec/aPhotographicTrend", #3K
473
+ "Yntec/BeenYou", #3K
474
+ "Yntec/level4", #3K
475
+ "Yntec/dreamlike-photoreal-remix", #3K
476
+ "Yntec/lamettaRemix", #3K
477
+ "Yntec/lametta", #2K
478
+ "Yntec/AgarthaChadstyle", #7k
479
+ "Yntec/DucHaitenLofi", #7k
480
+ "Yntec/DreamWorks", #7K
481
+ "Yntec/mistoonAnime2", #7K
482
+ "Yntec/DucHaiten-FANCYxFANCY",#7K
483
+ "Yntec/LAMEanime", #8K
484
+ "Yntec/3Danimation", #4K
485
+ "Yntec/DucHaitenNiji", #4K
486
+ "Yntec/Darkside", #4K
487
+ "Yntec/animeTEN", #4K
488
+ "Yntec/Dreamscapes_n_Dragonfire_v2", #4K
489
+ "Yntec/Cetus", #4K
490
+ "Yntec/DeliShaper", #4K
491
+ "Yntec/epiCVision", #4K
492
+ "Yntec/Dreamlike", #3K
493
+ "Yntec/AnythingV4-768", #9k
494
+ "Yntec/makeitdoubleplz", #10k
495
+ "Yntec/ChiliConCarne", #11k
496
+ "Yntec/Dreamshaper8", #12K
497
+ "Yntec/pineappleAnimeMix", #13k
498
+ "Yntec/Oiran", #6K
499
+ "Yntec/RealCartoon3D", #6K
500
+ "Yntec/animeTWO", #6K
501
+ "Yntec/lamettaNightly", #6K
502
+ "Yntec/REV", #6K
503
+ "Yntec/NaughtyChildren", #6K
504
+ "Yntec/humu", #6K
505
+ "Yntec/Thriller", #13K
506
+ "Yntec/AbsoluteRemix", #7K
507
+ "Yntec/Splash", #7K
508
+ "Yntec/OpenGenDiffusers", #7K
509
+ "Yntec/DreamLikeRemix", #7K
510
+ "Yntec/epiCRealismVAE", #8K
511
+ "Yntec/LehinaModel", #8K
512
+ "Yntec/realistic-vision-v12", #14K
513
+ "Yntec/animeSEXTILLION/", #15K
514
+ "Yntec/CetusRemix", #16K
515
+ "Yntec/AnythingV3-768", #18K
516
+ "Yntec/edgeOfRealism", #25K
517
+ "Yntec/fennPhoto", #27k
518
+ "Yntec/aMovieX/", #28K
519
+ "Yntec/photoMovieXFinal", #31K
520
+ "Yntec/nuipenimix2", #34K
521
+ "Yntec/epiCPhotoGasm", #40K
522
+ "Yntec/YiffyMix", #44K
523
+ "Yntec/HitenDiffusion", #2K
524
+ "Yntec/GameAssetsDigitalUnitsCreationKit",
525
+ "Yntec/QToriReloaded",
526
+ "Yntec/Toonify2",
527
+ "Yntec/LunarLuma",
528
+ "Yntec/Lunar",
529
+ "Yntec/Chik2",
530
+ "Yntec/photoMovieRealistic",
531
+ "Yntec/DucHaiten-StyleLikeMeVAE",
532
+ "Yntec/InsaneRealisticCVAE",
533
+ "Yntec/Noosphere_v3_CVAE",
534
+ "Yntec/RealRainbows",
535
+ "Yntec/InsaneM3U",
536
+ "Yntec/ChildrenStoriesAnime",
537
+ "Yntec/theallysMixIV-verisimilar",
538
+ "Yntec/DucHaitenAnime768",
539
+ "Yntec/RainbowClassicAnime",
540
+ "Yntec/DucHaitenClassicAnime768",
541
+ "Yntec/Luma",
542
+ "Yntec/WesternAnimation",
543
+ "Yntec/NeverExisted",
544
+ "Yntec/Rainbowsphere",
545
+ "Yntec/Ninja-Diffusers",
546
+ "Yntec/GOLDFish",
547
+ "Yntec/DreamAnything",
548
+ "Yntec/Dreamsphere",
549
+ "Yntec/Photosphere",
550
+ "Yntec/yabalMixTrue25D_v2_VAE",
551
+ "dreamlike-art/dreamlike-anime-1.0",
552
+ "Yntec/RainbowDreams",
553
+ "Yntec/rainbowpatch",
554
+ "Yntec/DucHaiten-Retro-Diffusers",
555
+ "Yntec/sexyToons",
556
+ "Yntec/photoMovieX/",
557
+ "dreamlike-art/dreamlike-photoreal-2.0",
558
+ "dreamlike-art/dreamlike-diffusion-1.0",
559
+ "Yntec/CuteYuki2",
560
+ "Yntec/KIDSILLUSTRATIONS",
561
+ "Yntec/COOLKIDSV2",
562
+ "Yntec/Pavo-Mix-Diffusers",
563
+ "Yntec/RPG_Remix",
564
+ "Yntec/OrangeRemix",
565
+ "Yntec/PeachMix3",
566
+ "Yntec/samdoesartsUlt",
567
+ "Yntec/NovelAI",
568
+ "Yntec/NovelAIRemix",
569
+ "Yntec/Hiten",
570
+ "digiplay/fCAnimeMix_v6", #776
571
+ "digiplay/YabaLMixAnimeRealistic_V1.0", #754
572
+ "digiplay/fCAnimeMix_v5", #798
573
+ "digiplay/majicMIX_realistic_v6",
574
+ "digiplay/Noosphere_v4", #723
575
+ "digiplay/fantasticmix2.5D_v4.0",
576
+ "digiplay/RunDiffusionFXPhotorealistic_v1",
577
+ "digiplay/HadrianDelice_DeliceV1", #772
578
+ "digiplay/HadrianDelice_DeliceV1.5", #743
579
+ "digiplay/fCAnimeMix_v2", #716
580
+ "digiplay/ZHMix-Dramatic-v2.0",
581
+ "digiplay/DucHaiten-Real3D-NSFW-V1",
582
+ "digiplay/kencanmix_v1.5",
583
+ "digiplay/CamelliaMIx_2.5D_diffusers", #695
584
+
585
+ "digiplay/ya3_VAE",
586
+ "digiplay/fantasticmix_v65_test",
587
+ "digiplay/AingDiffusion8",
588
+ "digiplay/AingDiffusion9",
589
+ "digiplay/AingDiffusion8.5",
590
+ "digiplay/AingDiffusion8.17",
591
+ "digiplay/AingDiffusion9.2",
592
+ "digiplay/MeinaMix_v11",
593
+ "AIARTCHAN/AbyssHellHero",
594
+ "digiplay/2K", #216
595
+ "digiplay/futaall_v8_VAE_diffusers",
596
+ "digiplay/CleanLinearMix_nsfw",
597
+ "digiplay/majicMIX_realistic_v4",
598
+ "digiplay/VersaMix_base_diffusers",
599
+ "digiplay/OldFish_fix1.1.997_diffusers",
600
+ "digiplay/VoidnoiseCore_R0829",
601
+ "digiplay/wantan25D_prototype",
602
+ "digiplay/PotoPhotoRealism_v1",
603
+ "digiplay/LunarDiffusion_v1.27",
604
+ "digiplay/OLDFish_2348_diffusers",
605
+ "digiplay/OldFish_v1.1_diffusers_recover",
606
+ "digiplay/OldFish_v1.1mix_hello",
607
+ "digiplay/OldFish_v1.1_personal_HDmix",
608
+ "digiplay/FishMix_v1",
609
+ "digiplay/majicMIX_realistic_v5preview", #867
610
+ "digiplay/Yntec_Wonder_0508_DDIM", #818
611
+
612
+ "digiplay/chilled_remix_v1vae.safetensors", #931
613
+ "digiplay/Pika_v1", #927
614
+ "digiplay/PrefixFantasyMix_v1", #926
615
+ "digiplay/SoapMix2.5D_v2", #921
616
+ "digiplay/ISOmix_v3.22", #918
617
+ "digiplay/Zevinemix_v1.0", #917
618
+ "digiplay/CoffeeMix_v1", #913
619
+ "digiplay/PeachMixsRelistic_R0", #907
620
+ "digiplay/PerfectDeliberate_v5", #904
621
+ "digiplay/majicMIX_sombre_v2", #900
622
+ "digiplay/majicMIX_sombre_v1", #899
623
+ "digiplay/GhostMix", #899
624
+ "digiplay/CiderMix_ciderR", #898
625
+ "digiplay/MeinaPastel_v3", #896
626
+ "digiplay/quincemix_v2", #896
627
+ "digiplay/chilled_remixb_v1vae.safetensors", #887
628
+ "digiplay/PerfectDeliberate_v4", #885
629
+ "digiplay/K-main2.1", #881
630
+ "digiplay/YabaLMixTrue25D_V2.0", #874
631
+ "digiplay/realdosmix_diffusers", #873
632
+ "digiplay/fantasticmix2.5D_test", #871
633
+ "John6666/juggernaut-reborn-sd15", #860
634
+ "digiplay/AnalogMadness-realistic-model-v6", #862
635
+ "DucHaiten/DucHaitenDreamWorld",
636
+ "digiplay/LemonteaMixPainterly2_v1",
637
+ "Hius/DreamFul-V2",
638
+ "lambdalabs/sd-naruto-diffusers", #201
639
+ "digiplay/SweetMuse_diffusers",
640
+ "stablediffusionapi/icomix-2",
641
+ "digiplay/Realisian_v1",
642
+ "digiplay/RMHF_2.5D_v2",
643
+ "digiplay/Remedy",
644
+ "Hemlok/QuinceMix",
645
+ "digiplay/K-main",
646
+ "digiplay/perfectLewdFantasy_v1.01",
647
+ "digiplay/Opiate_v2",
648
+ "digiplay/PhotoSomnia_vFinal",
649
+ "stablediffusionapi/all-526-animated",
650
+ "digiplay/polla_mix_2.5D",
651
+ "AstraliteHeart/pony-diffusion",
652
+ "stablediffusionapi/chilloutmixsf",
653
+ "Masagin/Deliberate", #235
654
+ "DucHaiten/DucHaitenSuperCute",
655
+ "stablediffusionapi/all-526",
656
+ "theintuitiveye/HARDblend",
657
+ "stablediffusionapi/cyberrealistic",
658
+ "stablediffusionapi/cusp-of-serenity",
659
+ "SG161222/Realistic_Vision_V1.4",
660
+ "digiplay/paulEberSRealismMix_v1",
661
+
662
+ "LottePeisch/RevAnimated-Diffusers", #833
663
+ "hassanblend/hassanblend1.4",
664
+ "digiplay/zodiac_eclipse_DAY1",
665
+ "claudfuen/photorealistic-fuen-v1",
666
+ "stablediffusionapi/chillout-app-factory",
667
+ "DucHaiten/DucHaitenJourney",
668
+ "robotjung/SemiRealMix",
669
+ "Joeythemonster/anything-midjourney-v-4-1",
670
+ "prompthero/midjourney-v4-diffusion",
671
+ "prompthero/openjourney-v4",
672
+ "x67/shortjourney",
673
+ "FredZhang7/paint-journey-v2",
674
+ "digiplay/PersonaStyleCheckpoint",
675
+ "darkstorm2150/Protogen_Infinity_Official_Release",
676
+ "PeggyWang/openjourney-v2",
677
+ "darkstorm2150/Protogen_x3.4_Official_Release",
678
+ "stablediffusionapi/deliberateappfactory", #236
679
+ "digiplay/CrossoverMix_v2",
680
+ "stablediffusionapi/spybg",
681
+ "stablediffusionapi/dreamshaper-v6", #239
682
+ "stablediffusionapi/the-ally",
683
+ "darkstorm2150/Protogen_x5.8_Official_Release",
684
+ "coreco/seek.art_MEGA",
685
+ "digiplay/BlankCanvas_v1", #07.11
686
+ "digiplay/OnlyAnime_v2.3",
687
+ "Korakoe/OpenNiji",
688
+ "digiplay/Pika_v2",
689
+ "digiplay/RealCartoon3D_F16full_v3.1", #254
690
+ "digiplay/realidefmix_3.5VAE",
691
+ "digiplay/realmixUnrealjourney_v1",
692
+ "digiplay/SyncMix_v1.5",
693
+ "stablediffusionapi/chilledremixsazyou-r", #195
694
+ "digiplay/TWingshadow_v1.2",
695
+ "digiplay/whatamix_v1",
696
+
697
+ "digiplay/AIGEN_v1.4_diffusers",
698
+ "digiplay/BrickAndMortarMix_v2.0_diffusers", #224
699
+ "digiplay/BeautyFool_v1.2VAE_pruned",
700
+ "digiplay/breakdomainrealistic_R2333",
701
+ "digiplay/ChikMix_V3", #253
702
+ "digiplay/CityEdge_StyleMix_v1.44",
703
+ "stablediffusionapi/dalcefopainting2", #199
704
+ "digiplay/DiamondCoalMix_v2_pruned_diffusers",
705
+ "digiplay/DreamShaper_7", #259
706
+ "digiplay/elegantEntropy_v1.1", #221
707
+ "digiplay/KawaiiRealisticAnimeMix_A0.3",
708
+ "digiplay/highQualityCGMIX_v1",
709
+ "digiplay/HIMAWARI_v1",
710
+ "digiplay/Hodgepodge_v2.1", #217
711
+ "digiplay/illustro1stEdition_illustroV1", #214
712
+ "digiplay/Juggernaut_final", #07.11
713
+ "digiplay/Landscape_PhotoReal_v1",
714
+ "digiplay/LuckyStrikeMix0.2Realistic", #07.10
715
+ "digiplay/Matrix_Stellar_VAE_v1",
716
+ "digiplay/PrefixRealisticMix_v1",
717
+ "digiplay/RealEpicMajicRevolution_v1", #07.11
718
+ "digiplay/ShampooMix_4", #252
719
+ "digiplay/ShowmakerMix_v1",
720
+ "digiplay/SoapMix2.5D_v1",
721
+
722
+ "Redamancy2299/dreambooth",
723
+ "Lykon/DreamShaper", #240
724
+ "trysem/DreamShaper-3.3",
725
+ "HusseinHE/hussein-deliberate-1000steps", #237
726
+ "stablediffusionapi/majicmixfantasy",
727
+ "stablediffusionapi/majicmixsombre", #247
728
+ "wavymulder/modelshoot",
729
+ "digiplay/ChillyMix_v1", #215
730
+ "stablediffusionapi/foto-assisted-diffusion", #197
731
+ "wavymulder/portraitplus",
732
+ "stablediffusionapi/chilloutmix-4264",
733
+ "stablediffusionapi/product-design", #194
734
+ "kandinsky-community/kandinsky-2-1", #251
735
+
736
+ "digiplay/2.5DSET_diffusers", #227
737
+ "digiplay/alstroemeriaMix_v1",
738
+ "wavymulder/Analog-Diffusion",
739
+ "digiplay/AniRealityMix_v1", #257
740
+ "digiplay/BasilKorea_v2", #07.11
741
+ "digiplay/bluePencilRealistic_v01",
742
+ "digiplay/bra_v40_diffusers",
743
+ "digiplay/Burger_Mix_semiR2Lite", #222
744
+ "digiplay/calicomixreal_v2.0_diffusers",
745
+ "digiplay/CampurSari_Gen1",
746
+ "digiplay/cocotifacute_v1", #07.10
747
+ "digiplay/CounterMix_v2", #211
748
+ "digiplay/CuriousMerge2.5D_v5",
749
+ "digiplay/dosmix",
750
+ "digiplay/epi_2.5Dphotogodess_diffusers",
751
+ "stablediffusionapi/droodlyrielv15",
752
+ "digiplay/fantexi_v0.7",
753
+ "digiplay/FormCleansingMix_v1", #228
754
+ "digiplay/FumizukiMix_v1",
755
+ "digiplay/helloworld_v3",
756
+ "digiplay/ISOmix_v3.22",
757
+ "digiplay/JF-Cu_v1",
758
+ "digiplay/kencanmix_v2.0beta",
759
+ "wavymulder/lomo-diffusion",
760
+ "stablediffusionapi/majicmixv5", #192
761
+ "digiplay/mecha_musume_vivid_soft",
762
+ "digiplay/MiracleMixGlitter_v1",
763
+ "digiplay/NextPhoto_v1",
764
+ "digiplay/Noosphere_v3",
765
+ "digiplay/PeachMixsRelistic_R0", #262
766
+ "wavymulder/timeless-diffusion",
767
+
768
+ "DucHaiten/DucHaitenAnime",
769
+ "DucHaiten/DucHaitenAIart",
770
+ "Manseo/Colorful-v4.5-Plus", #244
771
+ "Guizmus/SDArt_ChaosAndOrder",
772
+ "DucHaiten/DH_ClassicAnime",
773
+ "stablediffusionapi/disneypixar",
774
+ "johnslegers/epic-diffusion-v1.1",
775
+ "emilianJR/epiCRealism",
776
+ "johnslegers/epic-diffusion",
777
+ "stablediffusionapi/ghostmix",
778
+ "Duskfallcrew/EpicMix_Realism",
779
+ "nitrosocke/Nitro-Diffusion",
780
+ "prompthero/openjourney",
781
+ "Guizmus/SDArt_something",
782
+ "DucHaiten/DucHaiten-StyleLikeMe",
783
+ "ddPn08/subtly", #250
784
+ "22h/vintedois-diffusion-v0-1",
785
+
786
+ "circulus/sd-anireal-v2.7",
787
+ "0xJustin/Dungeons-and-Diffusion",
788
+ "darkstorm2150/Protogen_v2.2_Official_Release",
789
+ "Guizmus/SDArt_AliceInDiffusionLand",
790
+ "stablediffusionapi/realistic-vision-v20-2047",
791
+ "redstonehero/RPG-v5-itr17_A10T",
792
+
793
+ "stablediffusionapi/camelliamix25d",
794
+ "Guizmus/SDArt_cosmichorrors",
795
+ "DGSpitzer/DGSpitzer-Art-Diffusion",
796
+ "stablediffusionapi/emotion-puppeteer-v2",
797
+ "stablediffusionapi/fengjing",
798
+ "stablediffusionapi/fuwafuwamix",
799
+ "Fred99774/girlnew1",
800
+ "stablediffusionapi/majicmixrealistic",
801
+ "badmonk/nxka",
802
+ "ItsJayQz/SynthwavePunk-v2",
803
+ "zhyemmmm/ToonYou",
804
+ "stablediffusionapi/uber-realistic-merge",
805
+ "stablediffusionapi/vne732h9dh4",
806
+ "stablediffusionapi/wand-magic2",
807
+ "stablediffusionapi/waifu-journey-2",
808
+ "stablediffusionapi/zovya",
809
+
810
+ "Guizmus/SDArt_cosmichorrors768",
811
+ "stablediffusionapi/counterfeit-v30",
812
+ "stablediffusionapi/amireal",
813
+ #"JamesFlare/pastel-mix", #"andite/pastel-mix",
814
+ "stablediffusionapi/rev-anim",
815
+ "aipicasso/picasso-diffusion-1-1",
816
+ "xiaolxl/Gf_style2",
817
+ "circulus/sd-semireal-v2.8",
818
+ "Crosstyan/BPModel", #07.11
819
+
820
+ "digiplay/Dusk-1",
821
+ "ogkalu/Comic-Diffusion",
822
+ "Guizmus/SDArt_ChaosAndOrder768",
823
+ "gsdf/Counterfeit-V2.0",
824
+ ##"dwancin/memoji", #07.11
825
+ "nousr/robo-diffusion-2-base",
826
+
827
+ ##"hakurei/waifu-diffusion",
828
+ "WarriorMama777/AbyssOrangeMix2",
829
+ "stablediffusionapi/abyssorangemix2nsfw", #200
830
+ ##"cag/anything-v3-1",
831
+ "iZELX1/Anything-V3-X",
832
+ "xyn-ai/anything-v4.0", #"andite/anything-v4.0",
833
+ #"D1b4l4p/AsianMix",
834
+ #"Fred99774/chilloutvlara",
835
+ "aipicasso/cool-japan-diffusion-2-1-2",
836
+ "stablediffusionapi/corneos-7th-heaven-m", #196
837
+ "DGSpitzer/Cyberpunk-Anime-Diffusion",
838
+ "stablediffusionapi/dark-sushi-mix",
839
+ "joachimsallstrom/Double-Exposure-Diffusion",
840
+ "eimiss/EimisAnimeDiffusion_1.0v",
841
+ #"prompthero/funko-diffusion",
842
+ "nitrosocke/Ghibli-Diffusion",
843
+ ###"iZELX1/Grapefruit",
844
+ "xiaolxl/GuoFeng3",
845
+ "stablediffusionapi/tmnd-mix",
846
+ "coder119/Vectorartz_Diffusion", #203
847
+
848
+ "WarriorMama777/AbyssOrangeMix",
849
+ "AIARTCHAN/7pa",
850
+ "JosephusCheung/ACertainModel",
851
+ "JosephusCheung/ACertainThing",
852
+ "JosephusCheung/ACertainty",
853
+ "AIARTCHAN/AbyssHellVer3",
854
+ "AIARTCHAN/AbyssMapleVer3",
855
+ "stablediffusionapi/abyssorangemixsfw",
856
+ "AIARTCHAN/anidosmixV2",
857
+ "stablediffusionapi/anime-model-v2",
858
+ "kubanemil/AnyLORA",
859
+ "stablediffusionapi/hc-anything-v3-vae", #231
860
+ "mm00/anything-v3.0-light",
861
+ "stablediffusionapi/anythingelse-v4",
862
+ "stablediffusionapi/anything-v45-fixed",
863
+ "stablediffusionapi/anything-v5",
864
+ "nitrosocke/Arcane-Diffusion",
865
+ "nitrosocke/archer-diffusion",
866
+ "stablediffusionapi/architecture-tuned-model",
867
+ "WarriorMama777/BloodOrangeMix",
868
+ "wavymulder/collage-diffusion",
869
+ "stablediffusionapi/camelliamixline",
870
+ "Johnhex/Clam", #243
871
+ "stablediffusionapi/cosmic-babes",
872
+ "digiplay/CoffeeDonut_v1",
873
+ "stablediffusionapi/dark-sushi-25d",
874
+ "digiplay/Defacta_v1_diffusers", #226
875
+ ## "WarriorMama777/EerieOrangeMix",
876
+ "digiplay/DuelAnimeMix_v1", #225
877
+ "Envvi/Inkpunk-Diffusion",
878
+ "digiplay/kotosmix_diffusers", #229
879
+ "stablediffusionapi/meinaalter",
880
+ "Nacholmo/meinamixv7-diffusers",
881
+ "stablediffusionapi/meinapastel",
882
+ "AIARTCHAN/MIX-Pro-V4",
883
+ "stablediffusionapi/shirataki-mix", #191
884
+ "NoCrypt/SomethingV2_2",
885
+ "NoCrypt/SomethingV2",
886
+ "badmonk/sxzumi",
887
+ ## "stablediffusionapi/three-delicacy",
888
+ ## "stablediffusionapi/three-delicacy-wonto",
889
+ "etherealxx/systemy-csrmodel-cutesexyrobutts", #"andite/cutesexyrobutts-diffusion",
890
+ "sd-dreambooth-library/true-guweiz-style", # "andite/guweiz-diffusion",
891
+ "stablediffusionapi/vector-art", #198
892
+ "digiplay/xxMix_4",
893
+ ###"mio/hiten", #"andite/hiten-diffusion",
894
+ ### "andite/mashuu-diffusion",
895
+ ### "andite/mignon-diffusion",
896
+ ### "andite/mikapikazo-diffusion",
897
+ ### "andite/piromizu-diffusion",
898
+ "digiplay/Zevinemix_v1.0/",
899
+
900
+ "digiplay/AnaMix_v2", #07.11
901
+ "stablediffusionapi/animetestmodelv3",
902
+ "yulet1de/anything", #232
903
+ "hakurei/artstation-diffusion", #07.11
904
+ "Fictiverse/Stable_Diffusion_BalloonArt_Model",
905
+ "stablediffusionapi/bg-dream-irl",
906
+ "stablediffusionapi/bg-dream-model-b", #193
907
+ "Rardilit/Ciffusion_v0.1",
908
+ "circulus/sd-anireal-2d-v2",
909
+ "circulus/sd-photoreal-v2.7",
910
+ "circulus/sd-photoreal-photo-v2",
911
+ "circulus/sd-anireal-2.5d-v2",
912
+ "circulus/sd-anireal-v2.5",
913
+ "circulus/sd-photoreal-semi-v2",
914
+ "circulus/sd-photoreal-real-v2",
915
+ "circulus/sd-photoreal-v2.5",
916
+ "circulus/sd-anireal-3d-v2",
917
+ "circulus/sd-anireal-v2.8",
918
+ "nitrosocke/classic-anim-diffusion",
919
+ "Conflictx/Complex-Lineart", #245
920
+ "justinpinkney/pokemon-stable-diffusion",
921
+ "nitrosocke/elden-ring-diffusion",
922
+ "digiplay/EtherBluMix_1", #07.11
923
+ "digiplay/fantasticmix_v40_test", #261
924
+ "theintuitiveye/FantasyMix",
925
+ "Fictiverse/Stable_Diffusion_FluidArt_Model",
926
+ "nitrosocke/Future-Diffusion",
927
+ "ItsJayQz/GTA5_Artwork_Diffusion", #205
928
+ "TheLastBen/hrrzg-style-768px", #246
929
+ "nevernotsean/IllustratedPaperMini", #242
930
+ "dallinmackay/JWST-Deep-Space-diffusion",
931
+ #"prompthero/linkedin-diffusion",
932
+ "mann-e/mann-e_4_rev-0-1", #210
933
+ "ItsJayQz/Marvel_WhatIf_Diffusion", #206
934
+ "yuanbit/max-15-1e-6-1500",
935
+ "MyneFactory/MF-Base", #248
936
+ "Fictiverse/Stable_Diffusion_Microscopic_model", #249
937
+ "nitrosocke/mo-di-diffusion",
938
+ "luongphamit/NeverEnding-Dream2", #241
939
+ "Vernon-2/output_test",
940
+ "Fictiverse/Stable_Diffusion_PaperCut_Model",
941
+ "bsuutari/path_to_saved_model",
942
+ "bsuutari/path_to_saved_model_rafa",
943
+ "lambdalabs/sd-pokemon-diffusers", #202
944
+ "prompthero/poolsuite-diffusion",
945
+ "digiplay/RealismEngine_v1",
946
+ "nitrosocke/redshift-diffusion",
947
+ "nitrosocke/redshift-diffusion-768",
948
+ "nousr/robo-diffusion",
949
+ "digiplay/SDVN1-Real_v1", #255
950
+ "nitrosocke/spider-verse-diffusion",
951
+ #"runwayml/stable-diffusion-v1-5",
952
+ "nicky007/stable-diffusion-logo-fine-tuned",
953
+ "stablediffusionapi/three-delicacy", #233
954
+ "stablediffusionapi/three-delicacy-wonto", #234
955
+ "naclbit/trinart_stable_diffusion_v2",
956
+ "dallinmackay/Tron-Legacy-diffusion",
957
+ "digiplay/unstableDiffusersYamerMIX_v3",
958
+ "dallinmackay/Van-Gogh-diffusion",
959
+ "ItsJayQz/Valorant_Diffusion",
960
+ "Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
961
+ "wavymulder/wavyfusion",
962
+ "CompVis/stable-diffusion-v1-4", #530
963
+ "CompVis/stable-diffusion-v1-3", #207
964
+ "CompVis/stable-diffusion-v1-2", #208
965
+ "CompVis/stable-diffusion-v1-1", #209
966
+ ]
967
+
968
+ #from externalmod import find_model_list
969
+
970
+ #models = find_model_list("Yntec", [], "", "last_modified", 20)
971
+
972
+ # Examples:
973
+ #models = ['yodayo-ai/kivotos-xl-2.0', 'yodayo-ai/holodayo-xl-2.1'] # specific models
974
+ #models = find_model_list("Yntec", [], "", "last_modified", 20) # Yntec's latest 20 models
975
+ #models = find_model_list("Yntec", ["anime"], "", "last_modified", 20) # Yntec's latest 20 models with 'anime' tag
976
+ #models = find_model_list("Yntec", [], "anime", "last_modified", 20) # Yntec's latest 20 models without 'anime' tag
977
+ #models = find_model_list("", [], "", "last_modified", 20) # latest 20 text-to-image models of huggingface
978
+ #models = find_model_list("", [], "", "downloads", 20) # monthly most downloaded 20 text-to-image models of huggingface
app.py ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from random import randint
3
+ from all_models import models
4
+
5
+ from externalmod import gr_Interface_load
6
+
7
+ import asyncio
8
+ import os
9
+ from threading import RLock
10
+ lock = RLock()
11
+ HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary.
12
+
13
+
14
+ def load_fn(models):
15
+ global models_load
16
+ models_load = {}
17
+
18
+ for model in models:
19
+ if model not in models_load.keys():
20
+ try:
21
+ m = gr_Interface_load(f'models/{model}', hf_token=HF_TOKEN)
22
+ except Exception as error:
23
+ print(error)
24
+ m = gr.Interface(lambda: None, ['text'], ['image'])
25
+ models_load.update({model: m})
26
+
27
+
28
+ load_fn(models)
29
+
30
+
31
+ num_models = 6
32
+ MAX_SEED = 3999999999
33
+ default_models = models[:num_models]
34
+ inference_timeout = 600
35
+ starting_seed = randint(1941, 2024)
36
+
37
+ def extend_choices(choices):
38
+ return choices[:num_models] + (num_models - len(choices[:num_models])) * ['NA']
39
+
40
+
41
+ def update_imgbox(choices):
42
+ choices_plus = extend_choices(choices[:num_models])
43
+ return [gr.Image(None, label=m, visible=(m!='NA')) for m in choices_plus]
44
+
45
+ def gen_fn(model_str, prompt):
46
+ if model_str == 'NA':
47
+ return None
48
+ noise = str('') #str(randint(0, 99999999999))
49
+ return models_load[model_str](f'{prompt} {noise}')
50
+
51
+ async def infer(model_str, prompt, seed=1, timeout=inference_timeout):
52
+ from pathlib import Path
53
+ kwargs = {}
54
+ noise = ""
55
+ kwargs["seed"] = seed
56
+ task = asyncio.create_task(asyncio.to_thread(models_load[model_str].fn,
57
+ prompt=f'{prompt} {noise}', **kwargs, token=HF_TOKEN))
58
+ await asyncio.sleep(0)
59
+ try:
60
+ result = await asyncio.wait_for(task, timeout=timeout)
61
+ except (Exception, asyncio.TimeoutError) as e:
62
+ print(e)
63
+ print(f"Task timed out: {model_str}")
64
+ if not task.done(): task.cancel()
65
+ result = None
66
+ if task.done() and result is not None:
67
+ with lock:
68
+ png_path = "image.png"
69
+ result.save(png_path)
70
+ image = str(Path(png_path).resolve())
71
+ return image
72
+ return None
73
+
74
+ def gen_fnseed(model_str, prompt, seed=1):
75
+ if model_str == 'NA':
76
+ return None
77
+ try:
78
+ loop = asyncio.new_event_loop()
79
+ result = loop.run_until_complete(infer(model_str, prompt, seed, inference_timeout))
80
+ except (Exception, asyncio.CancelledError) as e:
81
+ print(e)
82
+ print(f"Task aborted: {model_str}")
83
+ result = None
84
+ finally:
85
+ loop.close()
86
+ return result
87
+
88
+ css="""
89
+ .wrapper img {font-size: 98% !important; white-space: nowrap !important; text-align: center !important;
90
+ display: inline-block !important;}
91
+ """
92
+
93
+ with gr.Blocks(css=css) as demo:
94
+
95
+ with gr.Tab('Toy World'):
96
+ txt_input = gr.Textbox(label='Your prompt:', lines=4)
97
+ gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
98
+ #stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
99
+ gen_button.click(lambda s: gr.update(interactive = True), None)
100
+ gr.HTML(
101
+ """
102
+ <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
103
+ <div>
104
+ <body>
105
+ <div class="center"><p style="margin-bottom: 10px; color: #000000;">Scroll down to see more images and select models.</p>
106
+ </div>
107
+ </body>
108
+ </div>
109
+ </div>
110
+ """
111
+ )
112
+ with gr.Row():
113
+ output = [gr.Image(label = m, min_width=480) for m in default_models]
114
+ current_models = [gr.Textbox(m, visible = False) for m in default_models]
115
+
116
+ for m, o in zip(current_models, output):
117
+ gen_event = gr.on(triggers=[gen_button.click, txt_input.submit], fn=gen_fn,
118
+ inputs=[m, txt_input], outputs=[o], concurrency_limit=None, queue=False)
119
+ #stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
120
+ with gr.Accordion('Model selection'):
121
+ model_choice = gr.CheckboxGroup(models, label = f'Choose up to {int(num_models)} different models from the {len(models)} available!', value=default_models, interactive=True)
122
+ #model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 2 available! Untick them to only use one!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
123
+ model_choice.change(update_imgbox, model_choice, output)
124
+ model_choice.change(extend_choices, model_choice, current_models)
125
+ with gr.Row():
126
+ gr.HTML(
127
+ """
128
+ <div class="footer">
129
+ <p> Based on the <a href="https://huggingface.co/spaces/John6666/hfd_test_nostopbutton">Huggingface NoStopButton</a> Space by John6666, <a href="https://huggingface.co/spaces/derwahnsinn/TestGen">TestGen</a> Space by derwahnsinn, the <a href="https://huggingface.co/spaces/RdnUser77/SpacIO_v1">SpacIO</a> Space by RdnUser77 and Omnibus's Maximum Multiplier! For 6 images with the same model check out the <a href="https://huggingface.co/spaces/Yntec/PrintingPress">Printing Press</a>, for the classic UI with prompt enhancer try <a href="https://huggingface.co/spaces/Yntec/blitz_diffusion">Blitz Diffusion!</a>
130
+ </p>
131
+ """
132
+ )
133
+ with gr.Tab('🌱 Use seeds!'):
134
+ txt_inputseed = gr.Textbox(label='Your prompt:', lines=4)
135
+ gen_buttonseed = gr.Button('Generate up to 6 images with the same seed in up to 3 minutes total')
136
+ seed = gr.Slider(label="Use a seed to replicate the same image later (maximum 3999999999)", minimum=0, maximum=MAX_SEED, step=1, value=starting_seed, scale=3)
137
+ #stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
138
+ gen_buttonseed.click(lambda s: gr.update(interactive = True), None)
139
+ gr.HTML(
140
+ """
141
+ <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
142
+ <div>
143
+ <body>
144
+ <div class="center"><p style="margin-bottom: 10px; color: #000000;">Scroll down to see more images and select models.</p>
145
+ </div>
146
+ </body>
147
+ </div>
148
+ </div>
149
+ """
150
+ )
151
+ with gr.Row():
152
+ output = [gr.Image(label = m, min_width=480) for m in default_models]
153
+ current_models = [gr.Textbox(m, visible = False) for m in default_models]
154
+
155
+ for m, o in zip(current_models, output):
156
+ gen_eventseed = gr.on(triggers=[gen_buttonseed.click, txt_inputseed.submit], fn=gen_fnseed,
157
+ inputs=[m, txt_inputseed, seed], outputs=[o], concurrency_limit=None, queue=False)
158
+ #stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
159
+ with gr.Accordion('Model selection'):
160
+ model_choice = gr.CheckboxGroup(models, label = f'Choose up to {int(num_models)} different models from the {len(models)} available!', value=default_models, interactive=True)
161
+ #model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 2 available! Untick them to only use one!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
162
+ model_choice.change(update_imgbox, model_choice, output)
163
+ model_choice.change(extend_choices, model_choice, current_models)
164
+ with gr.Row():
165
+ gr.HTML(
166
+ """
167
+ <div class="footer">
168
+ <p> Based on the <a href="https://huggingface.co/spaces/John6666/hfd_test_nostopbutton">Huggingface NoStopButton</a> Space by John6666, <a href="https://huggingface.co/spaces/derwahnsinn/TestGen">TestGen</a> Space by derwahnsinn, the <a href="https://huggingface.co/spaces/RdnUser77/SpacIO_v1">SpacIO</a> Space by RdnUser77 and Omnibus's Maximum Multiplier! For 6 images with the same model check out the <a href="https://huggingface.co/spaces/Yntec/PrintingPress">Printing Press</a>, for the classic UI with prompt enhancer try <a href="https://huggingface.co/spaces/Yntec/blitz_diffusion">Blitz Diffusion!</a>
169
+ </p>
170
+ """
171
+ )
172
+
173
+ demo.queue(default_concurrency_limit=200, max_size=200)
174
+ demo.launch(show_api=False, max_threads=400)
externalmod.py ADDED
@@ -0,0 +1,585 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """This module should not be used directly as its API is subject to change. Instead,
2
+ use the `gr.Blocks.load()` or `gr.load()` functions."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import json
7
+ import os
8
+ import re
9
+ import tempfile
10
+ import warnings
11
+ from pathlib import Path
12
+ from typing import TYPE_CHECKING, Callable, Literal
13
+
14
+ import httpx
15
+ import huggingface_hub
16
+ from gradio_client import Client
17
+ from gradio_client.client import Endpoint
18
+ from gradio_client.documentation import document
19
+ from packaging import version
20
+
21
+ import gradio
22
+ from gradio import components, external_utils, utils
23
+ from gradio.context import Context
24
+ from gradio.exceptions import (
25
+ GradioVersionIncompatibleError,
26
+ ModelNotFoundError,
27
+ TooManyRequestsError,
28
+ )
29
+ from gradio.processing_utils import save_base64_to_cache, to_binary
30
+
31
+ if TYPE_CHECKING:
32
+ from gradio.blocks import Blocks
33
+ from gradio.interface import Interface
34
+
35
+
36
+ HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary.
37
+ server_timeout = 600
38
+
39
+
40
+ @document()
41
+ def load(
42
+ name: str,
43
+ src: str | None = None,
44
+ hf_token: str | Literal[False] | None = None,
45
+ alias: str | None = None,
46
+ **kwargs,
47
+ ) -> Blocks:
48
+ """
49
+ Constructs a demo from a Hugging Face repo. Can accept model repos (if src is "models") or Space repos (if src is "spaces"). The input
50
+ and output components are automatically loaded from the repo. Note that if a Space is loaded, certain high-level attributes of the Blocks (e.g.
51
+ custom `css`, `js`, and `head` attributes) will not be loaded.
52
+ Parameters:
53
+ name: the name of the model (e.g. "gpt2" or "facebook/bart-base") or space (e.g. "flax-community/spanish-gpt2"), can include the `src` as prefix (e.g. "models/facebook/bart-base")
54
+ src: the source of the model: `models` or `spaces` (or leave empty if source is provided as a prefix in `name`)
55
+ hf_token: optional access token for loading private Hugging Face Hub models or spaces. Will default to the locally saved token if not provided. Pass `token=False` if you don't want to send your token to the server. Find your token here: https://huggingface.co/settings/tokens. Warning: only provide a token if you are loading a trusted private Space as it can be read by the Space you are loading.
56
+ alias: optional string used as the name of the loaded model instead of the default name (only applies if loading a Space running Gradio 2.x)
57
+ Returns:
58
+ a Gradio Blocks object for the given model
59
+ Example:
60
+ import gradio as gr
61
+ demo = gr.load("gradio/question-answering", src="spaces")
62
+ demo.launch()
63
+ """
64
+ return load_blocks_from_repo(
65
+ name=name, src=src, hf_token=hf_token, alias=alias, **kwargs
66
+ )
67
+
68
+
69
+ def load_blocks_from_repo(
70
+ name: str,
71
+ src: str | None = None,
72
+ hf_token: str | Literal[False] | None = None,
73
+ alias: str | None = None,
74
+ **kwargs,
75
+ ) -> Blocks:
76
+ """Creates and returns a Blocks instance from a Hugging Face model or Space repo."""
77
+ if src is None:
78
+ # Separate the repo type (e.g. "model") from repo name (e.g. "google/vit-base-patch16-224")
79
+ tokens = name.split("/")
80
+ if len(tokens) <= 1:
81
+ raise ValueError(
82
+ "Either `src` parameter must be provided, or `name` must be formatted as {src}/{repo name}"
83
+ )
84
+ src = tokens[0]
85
+ name = "/".join(tokens[1:])
86
+
87
+ factory_methods: dict[str, Callable] = {
88
+ # for each repo type, we have a method that returns the Interface given the model name & optionally an hf_token
89
+ "huggingface": from_model,
90
+ "models": from_model,
91
+ "spaces": from_spaces,
92
+ }
93
+ if src.lower() not in factory_methods:
94
+ raise ValueError(f"parameter: src must be one of {factory_methods.keys()}")
95
+
96
+ if hf_token is not None and hf_token is not False:
97
+ if Context.hf_token is not None and Context.hf_token != hf_token:
98
+ warnings.warn(
99
+ """You are loading a model/Space with a different access token than the one you used to load a previous model/Space. This is not recommended, as it may cause unexpected behavior."""
100
+ )
101
+ Context.hf_token = hf_token
102
+
103
+ blocks: gradio.Blocks = factory_methods[src](name, hf_token, alias, **kwargs)
104
+ return blocks
105
+
106
+
107
+ def from_model(
108
+ model_name: str, hf_token: str | Literal[False] | None, alias: str | None, **kwargs
109
+ ):
110
+ model_url = f"https://huggingface.co/{model_name}"
111
+ api_url = f"https://api-inference.huggingface.co/models/{model_name}"
112
+ print(f"Fetching model from: {model_url}")
113
+
114
+ headers = (
115
+ {} if hf_token in [False, None] else {"Authorization": f"Bearer {hf_token}"}
116
+ )
117
+ response = httpx.request("GET", api_url, headers=headers)
118
+ if response.status_code != 200:
119
+ raise ModelNotFoundError(
120
+ f"Could not find model: {model_name}. If it is a private or gated model, please provide your Hugging Face access token (https://huggingface.co/settings/tokens) as the argument for the `hf_token` parameter."
121
+ )
122
+ p = response.json().get("pipeline_tag")
123
+
124
+ headers["X-Wait-For-Model"] = "true"
125
+ client = huggingface_hub.InferenceClient(
126
+ model=model_name, headers=headers, token=hf_token, timeout=server_timeout,
127
+ )
128
+
129
+ # For tasks that are not yet supported by the InferenceClient
130
+ GRADIO_CACHE = os.environ.get("GRADIO_TEMP_DIR") or str( # noqa: N806
131
+ Path(tempfile.gettempdir()) / "gradio"
132
+ )
133
+
134
+ def custom_post_binary(data):
135
+ data = to_binary({"path": data})
136
+ response = httpx.request("POST", api_url, headers=headers, content=data)
137
+ return save_base64_to_cache(
138
+ external_utils.encode_to_base64(response), cache_dir=GRADIO_CACHE
139
+ )
140
+
141
+ preprocess = None
142
+ postprocess = None
143
+ examples = None
144
+
145
+ # example model: ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition
146
+ if p == "audio-classification":
147
+ inputs = components.Audio(type="filepath", label="Input")
148
+ outputs = components.Label(label="Class")
149
+ postprocess = external_utils.postprocess_label
150
+ examples = [
151
+ "https://gradio-builds.s3.amazonaws.com/demo-files/audio_sample.wav"
152
+ ]
153
+ fn = client.audio_classification
154
+ # example model: facebook/xm_transformer_sm_all-en
155
+ elif p == "audio-to-audio":
156
+ inputs = components.Audio(type="filepath", label="Input")
157
+ outputs = components.Audio(label="Output")
158
+ examples = [
159
+ "https://gradio-builds.s3.amazonaws.com/demo-files/audio_sample.wav"
160
+ ]
161
+ fn = custom_post_binary
162
+ # example model: facebook/wav2vec2-base-960h
163
+ elif p == "automatic-speech-recognition":
164
+ inputs = components.Audio(type="filepath", label="Input")
165
+ outputs = components.Textbox(label="Output")
166
+ examples = [
167
+ "https://gradio-builds.s3.amazonaws.com/demo-files/audio_sample.wav"
168
+ ]
169
+ fn = client.automatic_speech_recognition
170
+ # example model: microsoft/DialoGPT-medium
171
+ elif p == "conversational":
172
+ inputs = [
173
+ components.Textbox(render=False),
174
+ components.State(render=False),
175
+ ]
176
+ outputs = [
177
+ components.Chatbot(render=False),
178
+ components.State(render=False),
179
+ ]
180
+ examples = [["Hello World"]]
181
+ preprocess = external_utils.chatbot_preprocess
182
+ postprocess = external_utils.chatbot_postprocess
183
+ fn = client.conversational
184
+ # example model: julien-c/distilbert-feature-extraction
185
+ elif p == "feature-extraction":
186
+ inputs = components.Textbox(label="Input")
187
+ outputs = components.Dataframe(label="Output")
188
+ fn = client.feature_extraction
189
+ postprocess = utils.resolve_singleton
190
+ # example model: distilbert/distilbert-base-uncased
191
+ elif p == "fill-mask":
192
+ inputs = components.Textbox(label="Input")
193
+ outputs = components.Label(label="Classification")
194
+ examples = [
195
+ "Hugging Face is the AI community, working together, to [MASK] the future."
196
+ ]
197
+ postprocess = external_utils.postprocess_mask_tokens
198
+ fn = client.fill_mask
199
+ # Example: google/vit-base-patch16-224
200
+ elif p == "image-classification":
201
+ inputs = components.Image(type="filepath", label="Input Image")
202
+ outputs = components.Label(label="Classification")
203
+ postprocess = external_utils.postprocess_label
204
+ examples = ["https://gradio-builds.s3.amazonaws.com/demo-files/cheetah-002.jpg"]
205
+ fn = client.image_classification
206
+ # Example: deepset/xlm-roberta-base-squad2
207
+ elif p == "question-answering":
208
+ inputs = [
209
+ components.Textbox(label="Question"),
210
+ components.Textbox(lines=7, label="Context"),
211
+ ]
212
+ outputs = [
213
+ components.Textbox(label="Answer"),
214
+ components.Label(label="Score"),
215
+ ]
216
+ examples = [
217
+ [
218
+ "What entity was responsible for the Apollo program?",
219
+ "The Apollo program, also known as Project Apollo, was the third United States human spaceflight"
220
+ " program carried out by the National Aeronautics and Space Administration (NASA), which accomplished"
221
+ " landing the first humans on the Moon from 1969 to 1972.",
222
+ ]
223
+ ]
224
+ postprocess = external_utils.postprocess_question_answering
225
+ fn = client.question_answering
226
+ # Example: facebook/bart-large-cnn
227
+ elif p == "summarization":
228
+ inputs = components.Textbox(label="Input")
229
+ outputs = components.Textbox(label="Summary")
230
+ examples = [
231
+ [
232
+ "The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct."
233
+ ]
234
+ ]
235
+ fn = client.summarization
236
+ # Example: distilbert-base-uncased-finetuned-sst-2-english
237
+ elif p == "text-classification":
238
+ inputs = components.Textbox(label="Input")
239
+ outputs = components.Label(label="Classification")
240
+ examples = ["I feel great"]
241
+ postprocess = external_utils.postprocess_label
242
+ fn = client.text_classification
243
+ # Example: gpt2
244
+ elif p == "text-generation":
245
+ inputs = components.Textbox(label="Text")
246
+ outputs = inputs
247
+ examples = ["Once upon a time"]
248
+ fn = external_utils.text_generation_wrapper(client)
249
+ # Example: valhalla/t5-small-qa-qg-hl
250
+ elif p == "text2text-generation":
251
+ inputs = components.Textbox(label="Input")
252
+ outputs = components.Textbox(label="Generated Text")
253
+ examples = ["Translate English to Arabic: How are you?"]
254
+ fn = client.text_generation
255
+ # Example: Helsinki-NLP/opus-mt-en-ar
256
+ elif p == "translation":
257
+ inputs = components.Textbox(label="Input")
258
+ outputs = components.Textbox(label="Translation")
259
+ examples = ["Hello, how are you?"]
260
+ fn = client.translation
261
+ # Example: facebook/bart-large-mnli
262
+ elif p == "zero-shot-classification":
263
+ inputs = [
264
+ components.Textbox(label="Input"),
265
+ components.Textbox(label="Possible class names (" "comma-separated)"),
266
+ components.Checkbox(label="Allow multiple true classes"),
267
+ ]
268
+ outputs = components.Label(label="Classification")
269
+ postprocess = external_utils.postprocess_label
270
+ examples = [["I feel great", "happy, sad", False]]
271
+ fn = external_utils.zero_shot_classification_wrapper(client)
272
+ # Example: sentence-transformers/distilbert-base-nli-stsb-mean-tokens
273
+ elif p == "sentence-similarity":
274
+ inputs = [
275
+ components.Textbox(
276
+ label="Source Sentence",
277
+ placeholder="Enter an original sentence",
278
+ ),
279
+ components.Textbox(
280
+ lines=7,
281
+ placeholder="Sentences to compare to -- separate each sentence by a newline",
282
+ label="Sentences to compare to",
283
+ ),
284
+ ]
285
+ outputs = components.JSON(label="Similarity scores")
286
+ examples = [["That is a happy person", "That person is very happy"]]
287
+ fn = external_utils.sentence_similarity_wrapper(client)
288
+ # Example: julien-c/ljspeech_tts_train_tacotron2_raw_phn_tacotron_g2p_en_no_space_train
289
+ elif p == "text-to-speech":
290
+ inputs = components.Textbox(label="Input")
291
+ outputs = components.Audio(label="Audio")
292
+ examples = ["Hello, how are you?"]
293
+ fn = client.text_to_speech
294
+ # example model: osanseviero/BigGAN-deep-128
295
+ elif p == "text-to-image":
296
+ inputs = components.Textbox(label="Input")
297
+ outputs = components.Image(label="Output")
298
+ examples = ["A beautiful sunset"]
299
+ fn = client.text_to_image
300
+ # example model: huggingface-course/bert-finetuned-ner
301
+ elif p == "token-classification":
302
+ inputs = components.Textbox(label="Input")
303
+ outputs = components.HighlightedText(label="Output")
304
+ examples = [
305
+ "Hugging Face is a company based in Paris and New York City that acquired Gradio in 2021."
306
+ ]
307
+ fn = external_utils.token_classification_wrapper(client)
308
+ # example model: impira/layoutlm-document-qa
309
+ elif p == "document-question-answering":
310
+ inputs = [
311
+ components.Image(type="filepath", label="Input Document"),
312
+ components.Textbox(label="Question"),
313
+ ]
314
+ postprocess = external_utils.postprocess_label
315
+ outputs = components.Label(label="Label")
316
+ fn = client.document_question_answering
317
+ # example model: dandelin/vilt-b32-finetuned-vqa
318
+ elif p == "visual-question-answering":
319
+ inputs = [
320
+ components.Image(type="filepath", label="Input Image"),
321
+ components.Textbox(label="Question"),
322
+ ]
323
+ outputs = components.Label(label="Label")
324
+ postprocess = external_utils.postprocess_visual_question_answering
325
+ examples = [
326
+ [
327
+ "https://gradio-builds.s3.amazonaws.com/demo-files/cheetah-002.jpg",
328
+ "What animal is in the image?",
329
+ ]
330
+ ]
331
+ fn = client.visual_question_answering
332
+ # example model: Salesforce/blip-image-captioning-base
333
+ elif p == "image-to-text":
334
+ inputs = components.Image(type="filepath", label="Input Image")
335
+ outputs = components.Textbox(label="Generated Text")
336
+ examples = ["https://gradio-builds.s3.amazonaws.com/demo-files/cheetah-002.jpg"]
337
+ fn = client.image_to_text
338
+ # example model: rajistics/autotrain-Adult-934630783
339
+ elif p in ["tabular-classification", "tabular-regression"]:
340
+ examples = external_utils.get_tabular_examples(model_name)
341
+ col_names, examples = external_utils.cols_to_rows(examples) # type: ignore
342
+ examples = [[examples]] if examples else None
343
+ inputs = components.Dataframe(
344
+ label="Input Rows",
345
+ type="pandas",
346
+ headers=col_names,
347
+ col_count=(len(col_names), "fixed"),
348
+ render=False,
349
+ )
350
+ outputs = components.Dataframe(
351
+ label="Predictions", type="array", headers=["prediction"]
352
+ )
353
+ fn = external_utils.tabular_wrapper
354
+ # example model: microsoft/table-transformer-detection
355
+ elif p == "object-detection":
356
+ inputs = components.Image(type="filepath", label="Input Image")
357
+ outputs = components.AnnotatedImage(label="Annotations")
358
+ fn = external_utils.object_detection_wrapper(client)
359
+ # example model: stabilityai/stable-diffusion-xl-refiner-1.0
360
+ elif p == "image-to-image":
361
+ inputs = [
362
+ components.Image(type="filepath", label="Input Image"),
363
+ components.Textbox(label="Input"),
364
+ ]
365
+ outputs = components.Image(label="Output")
366
+ examples = [
367
+ [
368
+ "https://gradio-builds.s3.amazonaws.com/demo-files/cheetah-002.jpg",
369
+ "Photo of a cheetah with green eyes",
370
+ ]
371
+ ]
372
+ fn = client.image_to_image
373
+ else:
374
+ raise ValueError(f"Unsupported pipeline type: {p}")
375
+
376
+ def query_huggingface_inference_endpoints(*data, **kwargs):
377
+ if preprocess is not None:
378
+ data = preprocess(*data)
379
+ try:
380
+ data = fn(*data, **kwargs) # type: ignore
381
+ except huggingface_hub.utils.HfHubHTTPError as e:
382
+ if "429" in str(e):
383
+ raise TooManyRequestsError() from e
384
+ if postprocess is not None:
385
+ data = postprocess(data) # type: ignore
386
+ return data
387
+
388
+ query_huggingface_inference_endpoints.__name__ = alias or model_name
389
+
390
+ interface_info = {
391
+ "fn": query_huggingface_inference_endpoints,
392
+ "inputs": inputs,
393
+ "outputs": outputs,
394
+ "title": model_name,
395
+ #"examples": examples,
396
+ }
397
+
398
+ kwargs = dict(interface_info, **kwargs)
399
+ interface = gradio.Interface(**kwargs)
400
+ return interface
401
+
402
+
403
+ def from_spaces(
404
+ space_name: str, hf_token: str | None, alias: str | None, **kwargs
405
+ ) -> Blocks:
406
+ space_url = f"https://huggingface.co/spaces/{space_name}"
407
+
408
+ print(f"Fetching Space from: {space_url}")
409
+
410
+ headers = {}
411
+ if hf_token not in [False, None]:
412
+ headers["Authorization"] = f"Bearer {hf_token}"
413
+
414
+ iframe_url = (
415
+ httpx.get(
416
+ f"https://huggingface.co/api/spaces/{space_name}/host", headers=headers
417
+ )
418
+ .json()
419
+ .get("host")
420
+ )
421
+
422
+ if iframe_url is None:
423
+ raise ValueError(
424
+ f"Could not find Space: {space_name}. If it is a private or gated Space, please provide your Hugging Face access token (https://huggingface.co/settings/tokens) as the argument for the `hf_token` parameter."
425
+ )
426
+
427
+ r = httpx.get(iframe_url, headers=headers)
428
+
429
+ result = re.search(
430
+ r"window.gradio_config = (.*?);[\s]*</script>", r.text
431
+ ) # some basic regex to extract the config
432
+ try:
433
+ config = json.loads(result.group(1)) # type: ignore
434
+ except AttributeError as ae:
435
+ raise ValueError(f"Could not load the Space: {space_name}") from ae
436
+ if "allow_flagging" in config: # Create an Interface for Gradio 2.x Spaces
437
+ return from_spaces_interface(
438
+ space_name, config, alias, hf_token, iframe_url, **kwargs
439
+ )
440
+ else: # Create a Blocks for Gradio 3.x Spaces
441
+ if kwargs:
442
+ warnings.warn(
443
+ "You cannot override parameters for this Space by passing in kwargs. "
444
+ "Instead, please load the Space as a function and use it to create a "
445
+ "Blocks or Interface locally. You may find this Guide helpful: "
446
+ "https://gradio.app/using_blocks_like_functions/"
447
+ )
448
+ return from_spaces_blocks(space=space_name, hf_token=hf_token)
449
+
450
+
451
+ def from_spaces_blocks(space: str, hf_token: str | None) -> Blocks:
452
+ client = Client(
453
+ space,
454
+ hf_token=hf_token,
455
+ download_files=False,
456
+ _skip_components=False,
457
+ )
458
+ # We set deserialize to False to avoid downloading output files from the server.
459
+ # Instead, we serve them as URLs using the /proxy/ endpoint directly from the server.
460
+
461
+ if client.app_version < version.Version("4.0.0b14"):
462
+ raise GradioVersionIncompatibleError(
463
+ f"Gradio version 4.x cannot load spaces with versions less than 4.x ({client.app_version})."
464
+ "Please downgrade to version 3 to load this space."
465
+ )
466
+
467
+ # Use end_to_end_fn here to properly upload/download all files
468
+ predict_fns = []
469
+ for fn_index, endpoint in client.endpoints.items():
470
+ if not isinstance(endpoint, Endpoint):
471
+ raise TypeError(
472
+ f"Expected endpoint to be an Endpoint, but got {type(endpoint)}"
473
+ )
474
+ helper = client.new_helper(fn_index)
475
+ if endpoint.backend_fn:
476
+ predict_fns.append(endpoint.make_end_to_end_fn(helper))
477
+ else:
478
+ predict_fns.append(None)
479
+ return gradio.Blocks.from_config(client.config, predict_fns, client.src) # type: ignore
480
+
481
+
482
+ def from_spaces_interface(
483
+ model_name: str,
484
+ config: dict,
485
+ alias: str | None,
486
+ hf_token: str | None,
487
+ iframe_url: str,
488
+ **kwargs,
489
+ ) -> Interface:
490
+ config = external_utils.streamline_spaces_interface(config)
491
+ api_url = f"{iframe_url}/api/predict/"
492
+ headers = {"Content-Type": "application/json"}
493
+ if hf_token not in [False, None]:
494
+ headers["Authorization"] = f"Bearer {hf_token}"
495
+
496
+ # The function should call the API with preprocessed data
497
+ def fn(*data):
498
+ data = json.dumps({"data": data})
499
+ response = httpx.post(api_url, headers=headers, data=data) # type: ignore
500
+ result = json.loads(response.content.decode("utf-8"))
501
+ if "error" in result and "429" in result["error"]:
502
+ raise TooManyRequestsError("Too many requests to the Hugging Face API")
503
+ try:
504
+ output = result["data"]
505
+ except KeyError as ke:
506
+ raise KeyError(
507
+ f"Could not find 'data' key in response from external Space. Response received: {result}"
508
+ ) from ke
509
+ if (
510
+ len(config["outputs"]) == 1
511
+ ): # if the fn is supposed to return a single value, pop it
512
+ output = output[0]
513
+ if (
514
+ len(config["outputs"]) == 1 and isinstance(output, list)
515
+ ): # Needed to support Output.Image() returning bounding boxes as well (TODO: handle different versions of gradio since they have slightly different APIs)
516
+ output = output[0]
517
+ return output
518
+
519
+ fn.__name__ = alias if (alias is not None) else model_name
520
+ config["fn"] = fn
521
+
522
+ kwargs = dict(config, **kwargs)
523
+ kwargs["_api_mode"] = True
524
+ interface = gradio.Interface(**kwargs)
525
+ return interface
526
+
527
+
528
+ def gr_Interface_load(
529
+ name: str,
530
+ src: str | None = None,
531
+ hf_token: str | None = None,
532
+ alias: str | None = None,
533
+ **kwargs, # ignore
534
+ ) -> Blocks:
535
+ try:
536
+ return load_blocks_from_repo(name, src, hf_token, alias)
537
+ except Exception as e:
538
+ print(e)
539
+ return gradio.Interface(lambda: None, ['text'], ['image'])
540
+
541
+
542
+ def list_uniq(l):
543
+ return sorted(set(l), key=l.index)
544
+
545
+
546
+ def get_status(model_name: str):
547
+ from huggingface_hub import AsyncInferenceClient
548
+ client = AsyncInferenceClient(token=HF_TOKEN, timeout=10)
549
+ return client.get_model_status(model_name)
550
+
551
+
552
+ def is_loadable(model_name: str, force_gpu: bool = False):
553
+ try:
554
+ status = get_status(model_name)
555
+ except Exception as e:
556
+ print(e)
557
+ print(f"Couldn't load {model_name}.")
558
+ return False
559
+ gpu_state = isinstance(status.compute_type, dict) and "gpu" in status.compute_type.keys()
560
+ if status is None or status.state not in ["Loadable", "Loaded"] or (force_gpu and not gpu_state):
561
+ print(f"Couldn't load {model_name}. Model state:'{status.state}', GPU:{gpu_state}")
562
+ return status is not None and status.state in ["Loadable", "Loaded"] and (not force_gpu or gpu_state)
563
+
564
+
565
+ def find_model_list(author: str="", tags: list[str]=[], not_tag="", sort: str="last_modified", limit: int=30, force_gpu=False, check_status=False):
566
+ from huggingface_hub import HfApi
567
+ api = HfApi(token=HF_TOKEN)
568
+ default_tags = ["diffusers"]
569
+ if not sort: sort = "last_modified"
570
+ limit = limit * 20 if check_status and force_gpu else limit * 5
571
+ models = []
572
+ try:
573
+ model_infos = api.list_models(author=author, #task="text-to-image",
574
+ tags=list_uniq(default_tags + tags), cardData=True, sort=sort, limit=limit)
575
+ except Exception as e:
576
+ print(f"Error: Failed to list models.")
577
+ print(e)
578
+ return models
579
+ for model in model_infos:
580
+ if not model.private and not model.gated or HF_TOKEN is not None:
581
+ loadable = is_loadable(model.id, force_gpu) if check_status else True
582
+ if not_tag and not_tag in model.tags or not loadable: continue
583
+ models.append(model.id)
584
+ if len(models) == limit: break
585
+ return models