John6666 commited on
Commit
8f9f1c4
β€’
1 Parent(s): 9df644d

Upload 7 files

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