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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import os
|
3 |
+
import sys
|
4 |
+
from pathlib import Path
|
5 |
+
|
6 |
+
models = [
|
7 |
+
"Yntec/photoMovieRealistic",
|
8 |
+
"Yntec/a-ZovyaRPGV3VAE",
|
9 |
+
"Yntec/a-ZoviaRPGArtistV2VAE",
|
10 |
+
"Yntec/InsaneRealisticCVAE",
|
11 |
+
"Yntec/Lunar",
|
12 |
+
"Yntec/LunarLuma",
|
13 |
+
"Yntec/QToriReloaded",
|
14 |
+
"Yntec/Ninja-Diffusers",
|
15 |
+
"Yntec/ChildrenStoriesAnime",
|
16 |
+
"Yntec/DucHaitenAnime768",
|
17 |
+
"Yntec/DucHaitenClassicAnime768",
|
18 |
+
"Yntec/WesternAnimation",
|
19 |
+
"Yntec/GOLDFish",
|
20 |
+
"Yntec/Rainbowsphere",
|
21 |
+
"Yntec/DreamAnything",
|
22 |
+
"Yntec/yabalMixTrue25D_v2_VAE",
|
23 |
+
"dreamlike-art/dreamlike-anime-1.0",
|
24 |
+
"Yntec/DucHaiten-Retro-Diffusers",
|
25 |
+
"Hemlok/QuinceMix",
|
26 |
+
"Yntec/KIDSILLUSTRATIONS",
|
27 |
+
"Yntec/COOLKIDSV2",
|
28 |
+
"Yntec/Pavo-Mix-Diffusers",
|
29 |
+
"Yntec/DucHaitenAIart-beta",
|
30 |
+
"Ojimi/anime-kawai-diffusion",
|
31 |
+
"LottePeisch/RevAnimated-Diffusers",
|
32 |
+
######################################################
|
33 |
+
"digiplay/PersonaStyleCheckpoint",
|
34 |
+
"darkstorm2150/Protogen_Infinity_Official_Release",
|
35 |
+
"PeggyWang/openjourney-v2",
|
36 |
+
"darkstorm2150/Protogen_x3.4_Official_Release",
|
37 |
+
"stablediffusionapi/deliberateappfactory", #236
|
38 |
+
"digiplay/CrossoverMix_v2",
|
39 |
+
"stablediffusionapi/spybg",
|
40 |
+
"stablediffusionapi/dreamshaper-v6", #239
|
41 |
+
"stablediffusionapi/the-ally",
|
42 |
+
"darkstorm2150/Protogen_x5.8_Official_Release",
|
43 |
+
"coreco/seek.art_MEGA",
|
44 |
+
"digiplay/BlankCanvas_v1", #07.11
|
45 |
+
"digiplay/OnlyAnime_v2.3",
|
46 |
+
"Korakoe/OpenNiji",
|
47 |
+
"digiplay/Photon_v1",
|
48 |
+
"digiplay/Pika_v2",
|
49 |
+
"digiplay/RealCartoon3D_F16full_v3.1", #254
|
50 |
+
"digiplay/realidefmix_3.5VAE",
|
51 |
+
"digiplay/realmixUnrealjourney_v1",
|
52 |
+
"digiplay/SyncMix_v1.5",
|
53 |
+
"digiplay/TWingshadow_v1.2",
|
54 |
+
"digiplay/V3_by_Hans_Asian",
|
55 |
+
"digiplay/whatamix_v1",
|
56 |
+
|
57 |
+
"digiplay/2K", #216
|
58 |
+
"digiplay/AIGEN_v1.4_diffusers",
|
59 |
+
"digiplay/BrickAndMortarMix_v2.0_diffusers", #224
|
60 |
+
"digiplay/BeautyFool_v1.2VAE_pruned",
|
61 |
+
"digiplay/breakdomainrealistic_R2333",
|
62 |
+
"digiplay/CCTV2.5d_v1", #219
|
63 |
+
"digiplay/ChikMix_V3", #253
|
64 |
+
"stablediffusionapi/chilledremixsazyou-r", #195
|
65 |
+
"digiplay/CityEdge_StyleMix_v1.44",
|
66 |
+
"stablediffusionapi/dalcefopainting2", #199
|
67 |
+
"digiplay/EdisonNilMix_v1", #07.10
|
68 |
+
"digiplay/DiamondCoalMix_v2_pruned_diffusers",
|
69 |
+
"digiplay/DreamShaper_7", #259
|
70 |
+
"digiplay/elegantEntropy_v1.1", #221
|
71 |
+
"digiplay/EtherRealMix_LUX2",
|
72 |
+
"digiplay/KawaiiRealisticAnimeMix_A0.3",
|
73 |
+
"digiplay/highQualityCGMIX_v1",
|
74 |
+
"digiplay/HIMAWARI_v1",
|
75 |
+
"digiplay/Hodgepodge_v2.1", #217
|
76 |
+
"digiplay/illustro1stEdition_illustroV1", #214
|
77 |
+
"digiplay/Juggernaut_final", #07.11
|
78 |
+
"digiplay/Landscape_PhotoReal_v1",
|
79 |
+
"digiplay/LuckyStrikeMix0.2Realistic", #07.10
|
80 |
+
"digiplay/Matrix_Stellar_VAE_v1",
|
81 |
+
"digiplay/PrefixRealisticMix_v1",
|
82 |
+
"digiplay/RealEpicMajicRevolution_v1", #07.11
|
83 |
+
"digiplay/ShampooMix_4", #252
|
84 |
+
"digiplay/SoapMix2.5D_v1",
|
85 |
+
"digiplay/ZemiHR_v2_diffusers",
|
86 |
+
|
87 |
+
"Redamancy2299/dreambooth",
|
88 |
+
"Lykon/DreamShaper", #240
|
89 |
+
"trysem/DreamShaper-3.3",
|
90 |
+
"HusseinHE/hussein-deliberate-1000steps", #237
|
91 |
+
"stablediffusionapi/majicmixfantasy",
|
92 |
+
"stablediffusionapi/majicmixsombre", #247
|
93 |
+
"wavymulder/modelshoot",
|
94 |
+
"digiplay/ChillyMix_v1", #215
|
95 |
+
"stablediffusionapi/foto-assisted-diffusion", #197
|
96 |
+
"wavymulder/portraitplus",
|
97 |
+
"stablediffusionapi/chilloutmix-4264",
|
98 |
+
"stablediffusionapi/product-design", #194
|
99 |
+
"kandinsky-community/kandinsky-2-1", #251
|
100 |
+
|
101 |
+
"digiplay/2.5DSET_diffusers", #227
|
102 |
+
"digiplay/2-KWI", #213
|
103 |
+
"digiplay/alstroemeriaMix_v1",
|
104 |
+
"wavymulder/Analog-Diffusion",
|
105 |
+
"digiplay/AniRealityMix_v1", #257
|
106 |
+
"digiplay/ARRealVX1.1",
|
107 |
+
"digiplay/BadAnime_v1",
|
108 |
+
"digiplay/BasilKorea_v2", #07.11
|
109 |
+
"digiplay/bluePencilRealistic_v01",
|
110 |
+
"digiplay/bra_v40_diffusers",
|
111 |
+
"digiplay/Burger_Mix_semiR2Lite", #222
|
112 |
+
"digiplay/calicomixreal_v2.0_diffusers",
|
113 |
+
"digiplay/CampurSari_Gen1",
|
114 |
+
"digiplay/cocotifacute_v1", #07.10
|
115 |
+
"digiplay/cosfMix_v1", #223
|
116 |
+
"digiplay/CounterMix_v2", #211
|
117 |
+
"digiplay/CuriousMerge2.5D_v5",
|
118 |
+
"digiplay/dosmix",
|
119 |
+
"digiplay/epi_2.5Dphotogodess_diffusers",
|
120 |
+
"stablediffusionapi/droodlyrielv15",
|
121 |
+
"digiplay/fantexi_v0.7",
|
122 |
+
"digiplay/fishmix_other_v1",
|
123 |
+
"digiplay/FormCleansingMix_v1", #228
|
124 |
+
"digiplay/FumizukiMix_v1",
|
125 |
+
"digiplay/helloworld_v3",
|
126 |
+
"digiplay/HenmixArt_v1",
|
127 |
+
"digiplay/ISOmix_v3.22",
|
128 |
+
"digiplay/kencanmix_v2.0beta",
|
129 |
+
"wavymulder/lomo-diffusion",
|
130 |
+
"stablediffusionapi/majicmixv5", #192
|
131 |
+
"digiplay/mecha_musume_vivid_soft",
|
132 |
+
"digiplay/MiracleMixGlitter_v1",
|
133 |
+
"digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
|
134 |
+
"digiplay/NextPhoto_v1",
|
135 |
+
"digiplay/Noosphere_v3",
|
136 |
+
"digiplay/nk15_diffusers", #230
|
137 |
+
"digiplay/PeachMixsRelistic_R0", #262
|
138 |
+
"wavymulder/timeless-diffusion",
|
139 |
+
"digiplay/WhiteDreamyHillMix_v1", #220
|
140 |
+
"digiplay/ya3p_VAE", #258
|
141 |
+
|
142 |
+
"DucHaiten/DucHaitenAnime",
|
143 |
+
"DucHaiten/DucHaitenAIart",
|
144 |
+
"Manseo/Colorful-v4.5-Plus", #244
|
145 |
+
"Guizmus/SDArt_ChaosAndOrder",
|
146 |
+
"DucHaiten/DH_ClassicAnime",
|
147 |
+
"stablediffusionapi/disneypixar",
|
148 |
+
"johnslegers/epic-diffusion-v1.1",
|
149 |
+
"emilianJR/epiCRealism",
|
150 |
+
"johnslegers/epic-diffusion",
|
151 |
+
"digiplay/endlessMixRenatus_v1.1", #07.10
|
152 |
+
"digiplay/fantasticAnime_diffusers",
|
153 |
+
"stablediffusionapi/ghostmix",
|
154 |
+
"Duskfallcrew/EpicMix_Realism",
|
155 |
+
"nitrosocke/Nitro-Diffusion",
|
156 |
+
"prompthero/openjourney",
|
157 |
+
"Guizmus/SDArt_something",
|
158 |
+
"DucHaiten/DucHaiten-StyleLikeMe",
|
159 |
+
"ddPn08/subtly", #250
|
160 |
+
"22h/vintedois-diffusion-v0-1",
|
161 |
+
|
162 |
+
"circulus/sd-anireal-v2.7",
|
163 |
+
"0xJustin/Dungeons-and-Diffusion",
|
164 |
+
"Guizmus/SDArt_AliceInDiffusionLand",
|
165 |
+
"stablediffusionapi/realistic-vision-v20-2047",
|
166 |
+
"redstonehero/RPG-v5-itr17_A10T",
|
167 |
+
|
168 |
+
"stablediffusionapi/camelliamix25d",
|
169 |
+
"Guizmus/SDArt_cosmichorrors",
|
170 |
+
"DGSpitzer/DGSpitzer-Art-Diffusion",
|
171 |
+
"stablediffusionapi/emotion-puppeteer-v2",
|
172 |
+
"stablediffusionapi/fengjing",
|
173 |
+
"stablediffusionapi/fuwafuwamix",
|
174 |
+
"Fred99774/girlnew1",
|
175 |
+
"stablediffusionapi/majicmixrealistic",
|
176 |
+
"badmonk/nxka",
|
177 |
+
"ItsJayQz/SynthwavePunk-v2",
|
178 |
+
"zhyemmmm/ToonYou",
|
179 |
+
"stablediffusionapi/uber-realistic-merge",
|
180 |
+
"stablediffusionapi/vne732h9dh4",
|
181 |
+
"stablediffusionapi/wand-magic2",
|
182 |
+
"stablediffusionapi/waifu-journey-2",
|
183 |
+
"stablediffusionapi/zovya",
|
184 |
+
|
185 |
+
"Guizmus/SDArt_cosmichorrors768",
|
186 |
+
"stablediffusionapi/counterfeit-v30",
|
187 |
+
"stablediffusionapi/amireal",
|
188 |
+
#"JamesFlare/pastel-mix", #"andite/pastel-mix",
|
189 |
+
"stablediffusionapi/rev-anim",
|
190 |
+
"aipicasso/picasso-diffusion-1-1",
|
191 |
+
"xiaolxl/Gf_style2",
|
192 |
+
"circulus/sd-semireal-v2.8",
|
193 |
+
"Crosstyan/BPModel", #07.11
|
194 |
+
|
195 |
+
"digiplay/Dusk-1",
|
196 |
+
"ogkalu/Comic-Diffusion",
|
197 |
+
"Guizmus/SDArt_ChaosAndOrder768",
|
198 |
+
"gsdf/Counterfeit-V2.0",
|
199 |
+
"dwancin/memoji", #07.11
|
200 |
+
"nousr/robo-diffusion-2-base",
|
201 |
+
|
202 |
+
##"hakurei/waifu-diffusion",
|
203 |
+
"WarriorMama777/AbyssOrangeMix2",
|
204 |
+
"stablediffusionapi/abyssorangemix2nsfw", #200
|
205 |
+
"cag/anything-v3-1",
|
206 |
+
"iZELX1/Anything-V3-X",
|
207 |
+
"xyn-ai/anything-v4.0", #"andite/anything-v4.0",
|
208 |
+
"D1b4l4p/AsianMix",
|
209 |
+
"Fred99774/chilloutvlara",
|
210 |
+
"aipicasso/cool-japan-diffusion-2-1-2",
|
211 |
+
"stablediffusionapi/corneos-7th-heaven-m", #196
|
212 |
+
"DGSpitzer/Cyberpunk-Anime-Diffusion",
|
213 |
+
"stablediffusionapi/dark-sushi-mix",
|
214 |
+
"joachimsallstrom/Double-Exposure-Diffusion",
|
215 |
+
"eimiss/EimisAnimeDiffusion_1.0v",
|
216 |
+
"prompthero/funko-diffusion",
|
217 |
+
"nitrosocke/Ghibli-Diffusion",
|
218 |
+
###"iZELX1/Grapefruit",
|
219 |
+
"xiaolxl/GuoFeng3",
|
220 |
+
"stablediffusionapi/tmnd-mix",
|
221 |
+
"coder119/Vectorartz_Diffusion", #203
|
222 |
+
|
223 |
+
"WarriorMama777/AbyssOrangeMix",
|
224 |
+
"AIARTCHAN/7pa",
|
225 |
+
"JosephusCheung/ACertainModel",
|
226 |
+
"JosephusCheung/ACertainThing",
|
227 |
+
"AIARTCHAN/AbyssHellHero",
|
228 |
+
"JosephusCheung/ACertainty",
|
229 |
+
"AIARTCHAN/AbyssHellVer3",
|
230 |
+
"AIARTCHAN/AbyssMapleVer3",
|
231 |
+
"stablediffusionapi/abyssorangemixsfw",
|
232 |
+
"AIARTCHAN/anidosmixV2",
|
233 |
+
"stablediffusionapi/anime-model-v2",
|
234 |
+
"kubanemil/AnyLORA",
|
235 |
+
"stablediffusionapi/hc-anything-v3-vae", #231
|
236 |
+
"mm00/anything-v3.0-light",
|
237 |
+
"stablediffusionapi/anythingelse-v4",
|
238 |
+
"stablediffusionapi/anything-v45-fixed",
|
239 |
+
"stablediffusionapi/anything-v5",
|
240 |
+
"nitrosocke/Arcane-Diffusion",
|
241 |
+
"nitrosocke/archer-diffusion",
|
242 |
+
"stablediffusionapi/architecture-tuned-model",
|
243 |
+
"WarriorMama777/BloodOrangeMix",
|
244 |
+
"wavymulder/collage-diffusion",
|
245 |
+
"stablediffusionapi/camelliamixline",
|
246 |
+
"digiplay/chrysanthemumMix_v1",
|
247 |
+
"digiplay/CiderMix_ciderR", #260
|
248 |
+
"Johnhex/Clam", #243
|
249 |
+
"stablediffusionapi/cosmic-babes",
|
250 |
+
"digiplay/CoffeeDonut_v1",
|
251 |
+
"stablediffusionapi/dark-sushi-25d",
|
252 |
+
"digiplay/Defacta_v1_diffusers", #226
|
253 |
+
## "WarriorMama777/EerieOrangeMix",
|
254 |
+
"digiplay/DuelAnimeMix_v1", #225
|
255 |
+
"Envvi/Inkpunk-Diffusion",
|
256 |
+
"digiplay/kotosmix_diffusers", #229
|
257 |
+
"stablediffusionapi/meinaalter",
|
258 |
+
"Nacholmo/meinamixv7-diffusers",
|
259 |
+
"stablediffusionapi/meinapastel",
|
260 |
+
"AIARTCHAN/MIX-Pro-V4",
|
261 |
+
"Lykon/NeverEnding-Dream",
|
262 |
+
"stablediffusionapi/shirataki-mix", #191
|
263 |
+
"NoCrypt/SomethingV2_2",
|
264 |
+
"NoCrypt/SomethingV2",
|
265 |
+
"badmonk/sxzumi",
|
266 |
+
## "stablediffusionapi/three-delicacy",
|
267 |
+
## "stablediffusionapi/three-delicacy-wonto",
|
268 |
+
"etherealxx/systemy-csrmodel-cutesexyrobutts", #"andite/cutesexyrobutts-diffusion",
|
269 |
+
"sd-dreambooth-library/true-guweiz-style", # "andite/guweiz-diffusion",
|
270 |
+
"stablediffusionapi/vector-art", #198
|
271 |
+
"digiplay/xxMix_4",
|
272 |
+
###"mio/hiten", #"andite/hiten-diffusion",
|
273 |
+
### "andite/mashuu-diffusion",
|
274 |
+
### "andite/mignon-diffusion",
|
275 |
+
### "andite/mikapikazo-diffusion",
|
276 |
+
### "andite/piromizu-diffusion",
|
277 |
+
"digiplay/Zevinemix_v1.0/",
|
278 |
+
|
279 |
+
"digiplay/AnaMix_v2", #07.11
|
280 |
+
"stablediffusionapi/animetestmodelv3",
|
281 |
+
"yulet1de/anything", #232
|
282 |
+
"hakurei/artstation-diffusion", #07.11
|
283 |
+
"Fictiverse/Stable_Diffusion_BalloonArt_Model",
|
284 |
+
"stablediffusionapi/bg-dream-irl",
|
285 |
+
"stablediffusionapi/bg-dream-model-b", #193
|
286 |
+
"Rardilit/Ciffusion_v0.1",
|
287 |
+
"circulus/sd-anireal-2d-v2",
|
288 |
+
"circulus/sd-photoreal-v2.7",
|
289 |
+
"circulus/sd-photoreal-photo-v2",
|
290 |
+
"circulus/sd-anireal-2.5d-v2",
|
291 |
+
"circulus/sd-anireal-v2.5",
|
292 |
+
"circulus/sd-photoreal-semi-v2",
|
293 |
+
"circulus/sd-photoreal-real-v2",
|
294 |
+
"circulus/sd-photoreal-v2.5",
|
295 |
+
"circulus/sd-anireal-3d-v2",
|
296 |
+
"circulus/sd-anireal-v2.8",
|
297 |
+
"nitrosocke/classic-anim-diffusion",
|
298 |
+
"Conflictx/Complex-Lineart", #245
|
299 |
+
"sayakpaul/da-vinci-sd-pokemon",
|
300 |
+
"nitrosocke/elden-ring-diffusion",
|
301 |
+
"digiplay/EtherBluMix_1", #07.11
|
302 |
+
"digiplay/fantasticmix_v40_test", #261
|
303 |
+
"theintuitiveye/FantasyMix",
|
304 |
+
"Fictiverse/Stable_Diffusion_FluidArt_Model",
|
305 |
+
"nitrosocke/Future-Diffusion",
|
306 |
+
"ItsJayQz/GTA5_Artwork_Diffusion", #205
|
307 |
+
"digiplay/hellopure_v2.23",
|
308 |
+
"TheLastBen/hrrzg-style-768px", #246
|
309 |
+
"nevernotsean/IllustratedPaperMini", #242
|
310 |
+
"dallinmackay/JWST-Deep-Space-diffusion",
|
311 |
+
"prompthero/linkedin-diffusion",
|
312 |
+
"mann-e/mann-e_4_rev-0-1", #210
|
313 |
+
"ItsJayQz/Marvel_WhatIf_Diffusion", #206
|
314 |
+
"yuanbit/max-15-1e-6-1500",
|
315 |
+
"MyneFactory/MF-Base", #248
|
316 |
+
"Fictiverse/Stable_Diffusion_Microscopic_model", #249
|
317 |
+
"nitrosocke/mo-di-diffusion",
|
318 |
+
"luongphamit/NeverEnding-Dream2", #241
|
319 |
+
"lambdalabs/sd-naruto-diffusers", #201
|
320 |
+
"Vernon-2/output_test",
|
321 |
+
"Fictiverse/Stable_Diffusion_PaperCut_Model",
|
322 |
+
"bsuutari/path_to_saved_model",
|
323 |
+
"bsuutari/path_to_saved_model_rafa",
|
324 |
+
"digiplay/PlanetBumix_v1",
|
325 |
+
"lambdalabs/sd-pokemon-diffusers", #202
|
326 |
+
"prompthero/poolsuite-diffusion",
|
327 |
+
"digiplay/RealismEngine_v1",
|
328 |
+
"nitrosocke/redshift-diffusion",
|
329 |
+
"nitrosocke/redshift-diffusion-768",
|
330 |
+
"nousr/robo-diffusion",
|
331 |
+
"digiplay/SDVN1-Real_v1", #255
|
332 |
+
"nitrosocke/spider-verse-diffusion",
|
333 |
+
#"runwayml/stable-diffusion-v1-5",
|
334 |
+
"nicky007/stable-diffusion-logo-fine-tuned",
|
335 |
+
"stablediffusionapi/three-delicacy", #233
|
336 |
+
"stablediffusionapi/three-delicacy-wonto", #234
|
337 |
+
"naclbit/trinart_stable_diffusion_v2",
|
338 |
+
"dallinmackay/Tron-Legacy-diffusion",
|
339 |
+
"digiplay/unstableDiffusersYamerMIX_v3",
|
340 |
+
"dallinmackay/Van-Gogh-diffusion",
|
341 |
+
"ItsJayQz/Valorant_Diffusion",
|
342 |
+
"Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
|
343 |
+
"wavymulder/wavyfusion",
|
344 |
+
"CompVis/stable-diffusion-v1-3", #207
|
345 |
+
"CompVis/stable-diffusion-v1-2", #208
|
346 |
+
"CompVis/stable-diffusion-v1-1", #209
|
347 |
+
]
|
348 |
+
current_model = models[0]
|
349 |
+
|
350 |
+
text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
|
351 |
+
|
352 |
+
models2=[
|
353 |
+
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
354 |
+
gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
|
355 |
+
gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False),
|
356 |
+
gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False),
|
357 |
+
gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False),
|
358 |
+
gr.Interface.load(f"models/{models[5]}",live=True,preprocess=False),
|
359 |
+
gr.Interface.load(f"models/{models[6]}",live=True,preprocess=False),
|
360 |
+
gr.Interface.load(f"models/{models[7]}",live=True,preprocess=False),
|
361 |
+
gr.Interface.load(f"models/{models[8]}",live=True,preprocess=False),
|
362 |
+
gr.Interface.load(f"models/{models[9]}",live=True,preprocess=False),
|
363 |
+
gr.Interface.load(f"models/{models[10]}",live=True,preprocess=False),
|
364 |
+
gr.Interface.load(f"models/{models[11]}",live=True,preprocess=False),
|
365 |
+
gr.Interface.load(f"models/{models[12]}",live=True,preprocess=False),
|
366 |
+
gr.Interface.load(f"models/{models[13]}",live=True,preprocess=False),
|
367 |
+
gr.Interface.load(f"models/{models[14]}",live=True,preprocess=False),
|
368 |
+
gr.Interface.load(f"models/{models[15]}",live=True,preprocess=False),
|
369 |
+
gr.Interface.load(f"models/{models[16]}",live=True,preprocess=False),
|
370 |
+
gr.Interface.load(f"models/{models[17]}",live=True,preprocess=False),
|
371 |
+
gr.Interface.load(f"models/{models[18]}",live=True,preprocess=False),
|
372 |
+
gr.Interface.load(f"models/{models[19]}",live=True,preprocess=False),
|
373 |
+
gr.Interface.load(f"models/{models[20]}",live=True,preprocess=False),
|
374 |
+
gr.Interface.load(f"models/{models[21]}",live=True,preprocess=False),
|
375 |
+
gr.Interface.load(f"models/{models[22]}",live=True,preprocess=False),
|
376 |
+
gr.Interface.load(f"models/{models[23]}",live=True,preprocess=False),
|
377 |
+
gr.Interface.load(f"models/{models[24]}",live=True,preprocess=False),
|
378 |
+
gr.Interface.load(f"models/{models[25]}",live=True,preprocess=False),
|
379 |
+
]
|
380 |
+
|
381 |
+
|
382 |
+
def text_it1(inputs,text_gen1=text_gen1):
|
383 |
+
go_t1=text_gen1(inputs)
|
384 |
+
return(go_t1)
|
385 |
+
|
386 |
+
def set_model(current_model):
|
387 |
+
current_model = models[current_model]
|
388 |
+
return gr.update(label=(f"{current_model}"))
|
389 |
+
|
390 |
+
|
391 |
+
def send_it1(inputs, model_choice):
|
392 |
+
proc1=models2[model_choice]
|
393 |
+
output1=proc1(inputs)
|
394 |
+
return(output1)
|
395 |
+
css=""""""
|
396 |
+
|
397 |
+
|
398 |
+
with gr.Blocks(css=css) as myface:
|
399 |
+
gr.HTML("""<!DOCTYPE html>
|
400 |
+
<html lang="en">
|
401 |
+
<head>
|
402 |
+
<meta charset="utf-8" />
|
403 |
+
<meta name="twitter:card" content="player"/>
|
404 |
+
<meta name="twitter:site" content=""/>
|
405 |
+
<meta name="twitter:player" content="https://omnibus-maximum-multiplier-places.hf.space"/>
|
406 |
+
<meta name="twitter:player:stream" content="https://omnibus-maximum-multiplier-places.hf.space"/>
|
407 |
+
<meta name="twitter:player:width" content="100%"/>
|
408 |
+
<meta name="twitter:player:height" content="600"/>
|
409 |
+
<meta property="og:title" content="Embedded Live Viewer"/>
|
410 |
+
<meta property="og:description" content="Tweet Genie - A Huggingface Space"/>
|
411 |
+
<meta property="og:image" content="https://cdn.glitch.global/80dbe92e-ce75-44af-84d5-74a2e21e9e55/omnicard.png?v=1676772531627"/>
|
412 |
+
<!--<meta http-equiv="refresh" content="0; url=https://huggingface.co/spaces/corbt/tweet-genie">-->
|
413 |
+
</head>
|
414 |
+
</html>
|
415 |
+
""")
|
416 |
+
with gr.Row():
|
417 |
+
with gr.Tab("Title"):
|
418 |
+
gr.HTML(""" <title>Minimum Multiplier</title><div style="text-align: center; max-width: 1500px; margin: 0 auto;">
|
419 |
+
<h1>Fill the Textbox at the top and click Generate Image</h1>
|
420 |
+
<br><h4>The first time you load a model it takes 200 seconds</h4>
|
421 |
+
<br><h4>But after it loads each image takes 20 seconds to generate!</h4>
|
422 |
+
|
423 |
+
""")
|
424 |
+
|
425 |
+
with gr.Tab("Description"):
|
426 |
+
gr.HTML("""<div style="text-align:center;">
|
427 |
+
<h4>As many Text-to-Image Models as I can fit here</h4><br>
|
428 |
+
<h4>Suggest more up in the "Community" button</h4>
|
429 |
+
|
430 |
+
</div>""")
|
431 |
+
|
432 |
+
with gr.Tab("Tools"):
|
433 |
+
with gr.Tab("View"):
|
434 |
+
with gr.Row():
|
435 |
+
with gr.Column(style="width=50%, height=70%"):
|
436 |
+
gr.Pil(label="Crop")
|
437 |
+
with gr.Column(style="width=50%, height=70%"):
|
438 |
+
gr.Pil(label="Crop")
|
439 |
+
|
440 |
+
|
441 |
+
with gr.Tab("Draw"):
|
442 |
+
with gr.Column(style="width=50%, height=70%"):
|
443 |
+
gr.Pil(label="Crop")
|
444 |
+
with gr.Column(style="width=50%, height=70%"):
|
445 |
+
gr.Pil(label="Draw")
|
446 |
+
|
447 |
+
|
448 |
+
gr.ImagePaint(label="Draw")
|
449 |
+
|
450 |
+
with gr.Tab("Text"):
|
451 |
+
with gr.Row():
|
452 |
+
|
453 |
+
with gr.Column(scale=50):
|
454 |
+
gr.Textbox(label="", lines=8, interactive=True)
|
455 |
+
|
456 |
+
|
457 |
+
with gr.Column(scale=50):
|
458 |
+
gr.Textbox(label="", lines=8, interactive=True)
|
459 |
+
|
460 |
+
with gr.Tab("Color Picker"):
|
461 |
+
with gr.Row():
|
462 |
+
|
463 |
+
with gr.Column(scale=50):
|
464 |
+
gr.ColorPicker(label="Color", interactive=True)
|
465 |
+
|
466 |
+
|
467 |
+
with gr.Column(scale=50):
|
468 |
+
gr.ImagePaint(label="Draw", interactive=True)
|
469 |
+
with gr.Row():
|
470 |
+
with gr.Column(scale=100):
|
471 |
+
magic1=gr.Textbox(lines=4)
|
472 |
+
run=gr.Button("Generate Image")
|
473 |
+
with gr.Row():
|
474 |
+
with gr.Column(scale=100):
|
475 |
+
#Model selection dropdown
|
476 |
+
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
477 |
+
with gr.Row():
|
478 |
+
with gr.Column(style="width=800px"):
|
479 |
+
output1=gr.Image(label=(f"{current_model}"))
|
480 |
+
|
481 |
+
|
482 |
+
with gr.Row():
|
483 |
+
with gr.Column(scale=50):
|
484 |
+
input_text=gr.Textbox(label="Prompt Idea",lines=2)
|
485 |
+
use_short=gr.Button("Use Short Prompt")
|
486 |
+
see_prompts=gr.Button("Extend Idea")
|
487 |
+
|
488 |
+
|
489 |
+
def short_prompt(inputs):
|
490 |
+
return(inputs)
|
491 |
+
|
492 |
+
model_name1.change(set_model,inputs=model_name1,outputs=[output1])
|
493 |
+
|
494 |
+
run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
|
495 |
+
|
496 |
+
use_short.click(short_prompt,inputs=[input_text],outputs=magic1)
|
497 |
+
|
498 |
+
see_prompts.click(text_it1,inputs=[input_text],outputs=magic1)
|
499 |
+
|
500 |
+
myface.queue(concurrency_count=200)
|
501 |
+
myface.launch(inline=True, show_api=False, max_threads=400)
|