Yntec commited on
Commit
a846cff
β€’
0 Parent(s):

Duplicate from Yntec/minimum_multiplier

Browse files
Files changed (4) hide show
  1. README.md +13 -0
  2. app.py +407 -0
  3. gitattributes.txt +34 -0
  4. index.html +16 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Fast Diffusion 128 Models
3
+ emoji: ' πŸ‘©β€πŸŽ¨πŸ‘¨β€πŸŽ¨ '
4
+ colorFrom: green
5
+ colorTo: blue
6
+ sdk: gradio
7
+ sdk_version: 3.15.0
8
+ app_file: app.py
9
+ pinned: true
10
+ duplicated_from: Yntec/minimum_multiplier
11
+ ---
12
+
13
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,407 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+ import sys
4
+ from pathlib import Path
5
+
6
+ models = [
7
+ "dreamlike-art/dreamlike-photoreal-2.0",
8
+ "dreamlike-art/dreamlike-anime-1.0",
9
+ "dreamlike-art/dreamlike-diffusion-1.0",
10
+ "Nacholmo/meinamixv7-diffusers",
11
+ "DucHaiten/DH_ClassicAnime",
12
+ "DucHaiten/DucHaitenAnime",
13
+ "DucHaiten/DucHaitenAIart",
14
+ "DucHaiten/DucHaitenDreamWorld",
15
+ "DucHaiten/DucHaitenJourney",
16
+ "DucHaiten/DucHaiten-StyleLikeMe",
17
+ "DucHaiten/DucHaitenSuperCute",
18
+ "Hius/DreamFul-V2",
19
+ "theintuitiveye/HARDblend",
20
+ "hassanblend/hassanblend1.4",
21
+ "Hemlok/QuinceMix",
22
+ "coreco/seek.art_MEGA",
23
+ "stablediffusionapi/all-526-animated",
24
+ "stablediffusionapi/all-526",
25
+ "stablediffusionapi/cyberrealistic",
26
+ "SG161222/Realistic_Vision_V1.4",
27
+ "claudfuen/photorealistic-fuen-v1",
28
+ "robotjung/SemiRealMix",
29
+ "FredZhang7/paint-journey-v2",
30
+ "PeggyWang/openjourney-v2",
31
+ "prompthero/midjourney-v4-diffusion",
32
+ "prompthero/openjourney-v4",
33
+ "x67/shortjourney",
34
+ "Joeythemonster/anything-midjourney-v-4-1",
35
+ "circulus/sd-semireal-v2.8",
36
+ "circulus/sd-anireal-v2.7",
37
+ "circulus/sd-anireal-2d-v2",
38
+ "circulus/sd-photoreal-v2.7",
39
+ "circulus/sd-photoreal-photo-v2",
40
+ "circulus/sd-anireal-2.5d-v2",
41
+ "circulus/sd-anireal-v2.5",
42
+ "circulus/sd-photoreal-semi-v2",
43
+ "circulus/sd-photoreal-real-v2",
44
+ "circulus/sd-photoreal-v2.5",
45
+ "circulus/sd-anireal-3d-v2",
46
+ "circulus/sd-anireal-v2.8",
47
+ "stablediffusionapi/spybg",
48
+ "darkstorm2150/Protogen_v2.2_Official_Release",
49
+ "darkstorm2150/Protogen_Infinity_Official_Release",
50
+ "darkstorm2150/Protogen_x3.4_Official_Release",
51
+ "darkstorm2150/Protogen_x5.8_Official_Release",
52
+ "wavymulder/Analog-Diffusion",
53
+ "wavymulder/collage-diffusion",
54
+ "wavymulder/lomo-diffusion",
55
+ "wavymulder/modelshoot",
56
+ "wavymulder/portraitplus",
57
+ "wavymulder/timeless-diffusion",
58
+ "ItsJayQz/SynthwavePunk-v2",
59
+ "Guizmus/SDArt_ChaosAndOrder768",
60
+ "Guizmus/SDArt_ChaosAndOrder",
61
+ "stablediffusionapi/chillout-app-factory",
62
+ "gsdf/Counterfeit-V2.0",
63
+ "stablediffusionapi/counterfeit-v30",
64
+ "stablediffusionapi/amireal",
65
+ "Korakoe/OpenNiji",
66
+ #"JamesFlare/pastel-mix", #"andite/pastel-mix",
67
+ "aipicasso/picasso-diffusion-1-1",
68
+ "stablediffusionapi/rev-anim",
69
+ "LottePeisch/RevAnimated-Diffusers",
70
+ "nousr/robo-diffusion-2-base",
71
+ "stablediffusionapi/the-ally",
72
+ "stablediffusionapi/tmnd-mix",
73
+ ##"hakurei/waifu-diffusion",
74
+ "WarriorMama777/AbyssOrangeMix2",
75
+ "cag/anything-v3-1",
76
+ "iZELX1/Anything-V3-X",
77
+ "xyn-ai/anything-v4.0", #"andite/anything-v4.0",
78
+ "D1b4l4p/AsianMix",
79
+ "nitrosocke/classic-anim-diffusion",
80
+ "aipicasso/cool-japan-diffusion-2-1-2",
81
+ "DGSpitzer/Cyberpunk-Anime-Diffusion",
82
+ "stablediffusionapi/dark-sushi-mix",
83
+ "joachimsallstrom/Double-Exposure-Diffusion",
84
+ "eimiss/EimisAnimeDiffusion_1.0v",
85
+ "prompthero/funko-diffusion",
86
+ "nitrosocke/Ghibli-Diffusion",
87
+ "xiaolxl/Gf_style2",
88
+ ###"iZELX1/Grapefruit",
89
+ "xiaolxl/GuoFeng3",
90
+ "stablediffusionapi/meinapastel",
91
+ "WarriorMama777/AbyssOrangeMix",
92
+ "AIARTCHAN/7pa",
93
+ "JosephusCheung/ACertainModel",
94
+ "JosephusCheung/ACertainThing",
95
+ "JosephusCheung/ACertainty",
96
+ "AIARTCHAN/AbyssHellHero",
97
+ "AIARTCHAN/AbyssMapleVer3",
98
+ "AIARTCHAN/AbyssHellVer3",
99
+ "AIARTCHAN/anidosmixV2",
100
+ "Ojimi/anime-kawai-diffusion",
101
+ "kubanemil/AnyLORA",
102
+ "mm00/anything-v3.0-light",
103
+ "stablediffusionapi/anythingelse-v4",
104
+ "stablediffusionapi/anything-v5",
105
+ "nitrosocke/Arcane-Diffusion",
106
+ "nitrosocke/archer-diffusion",
107
+ "WarriorMama777/BloodOrangeMix",
108
+ "stablediffusionapi/camelliamix25d",
109
+ "stablediffusionapi/camelliamixline",
110
+ "stablediffusionapi/cosmic-babes",
111
+ "stablediffusionapi/dark-sushi-25d",
112
+ ## "WarriorMama777/EerieOrangeMix",
113
+ "stablediffusionapi/icomix-2",
114
+ "Envvi/Inkpunk-Diffusion",
115
+ "dallinmackay/JWST-Deep-Space-diffusion",
116
+ "stablediffusionapi/meinaalter",
117
+ "AIARTCHAN/MIX-Pro-V4",
118
+ "Lykon/NeverEnding-Dream",
119
+ "NoCrypt/SomethingV2_2",
120
+ "NoCrypt/SomethingV2",
121
+ ## "stablediffusionapi/three-delicacy",
122
+ ## "stablediffusionapi/three-delicacy-wonto",
123
+ "etherealxx/systemy-csrmodel-cutesexyrobutts", #"andite/cutesexyrobutts-diffusion",
124
+ "sd-dreambooth-library/true-guweiz-style", # "andite/guweiz-diffusion",
125
+ ###"mio/hiten", #"andite/hiten-diffusion",
126
+ ### "andite/mashuu-diffusion",
127
+ ### "andite/mignon-diffusion",
128
+ ### "andite/mikapikazo-diffusion",
129
+ ### "andite/piromizu-diffusion",
130
+ "Fictiverse/Stable_Diffusion_BalloonArt_Model",
131
+ "Rardilit/Ciffusion_v0.1",
132
+ "nitrosocke/elden-ring-diffusion",
133
+ "Fictiverse/Stable_Diffusion_FluidArt_Model",
134
+ "nitrosocke/Future-Diffusion",
135
+ "prompthero/linkedin-diffusion",
136
+ "nitrosocke/mo-di-diffusion",
137
+ "Fictiverse/Stable_Diffusion_PaperCut_Model",
138
+ "AstraliteHeart/pony-diffusion",
139
+ "prompthero/poolsuite-diffusion",
140
+ "nitrosocke/redshift-diffusion",
141
+ "nitrosocke/redshift-diffusion-768",
142
+ "nousr/robo-diffusion",
143
+ "nitrosocke/spider-verse-diffusion",
144
+ #"runwayml/stable-diffusion-v1-5",
145
+ "naclbit/trinart_stable_diffusion_v2",
146
+ "dallinmackay/Tron-Legacy-diffusion",
147
+ "dallinmackay/Van-Gogh-diffusion",
148
+ "ItsJayQz/Valorant_Diffusion",
149
+ "wavymulder/wavyfusion"
150
+ ]
151
+ current_model = models[0]
152
+
153
+ text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
154
+
155
+ models2=[
156
+ gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
157
+ gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
158
+ gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False),
159
+ gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False),
160
+ gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False),
161
+ gr.Interface.load(f"models/{models[5]}",live=True,preprocess=False),
162
+ gr.Interface.load(f"models/{models[6]}",live=True,preprocess=False),
163
+ gr.Interface.load(f"models/{models[7]}",live=True,preprocess=False),
164
+ gr.Interface.load(f"models/{models[8]}",live=True,preprocess=False),
165
+ gr.Interface.load(f"models/{models[9]}",live=True,preprocess=False),
166
+ gr.Interface.load(f"models/{models[10]}",live=True,preprocess=False),
167
+ gr.Interface.load(f"models/{models[11]}",live=True,preprocess=False),
168
+ gr.Interface.load(f"models/{models[12]}",live=True,preprocess=False),
169
+ gr.Interface.load(f"models/{models[13]}",live=True,preprocess=False),
170
+ gr.Interface.load(f"models/{models[14]}",live=True,preprocess=False),
171
+ gr.Interface.load(f"models/{models[15]}",live=True,preprocess=False),
172
+ gr.Interface.load(f"models/{models[16]}",live=True,preprocess=False),
173
+ gr.Interface.load(f"models/{models[17]}",live=True,preprocess=False),
174
+ gr.Interface.load(f"models/{models[18]}",live=True,preprocess=False),
175
+ gr.Interface.load(f"models/{models[19]}",live=True,preprocess=False),
176
+ gr.Interface.load(f"models/{models[20]}",live=True,preprocess=False),
177
+ gr.Interface.load(f"models/{models[21]}",live=True,preprocess=False),
178
+ gr.Interface.load(f"models/{models[22]}",live=True,preprocess=False),
179
+ gr.Interface.load(f"models/{models[23]}",live=True,preprocess=False),
180
+ gr.Interface.load(f"models/{models[24]}",live=True,preprocess=False),
181
+ gr.Interface.load(f"models/{models[25]}",live=True,preprocess=False),
182
+ gr.Interface.load(f"models/{models[26]}",live=True,preprocess=False),
183
+ gr.Interface.load(f"models/{models[27]}",live=True,preprocess=False),
184
+ gr.Interface.load(f"models/{models[28]}",live=True,preprocess=False),
185
+ gr.Interface.load(f"models/{models[29]}",live=True,preprocess=False),
186
+ gr.Interface.load(f"models/{models[30]}",live=True,preprocess=False),
187
+ gr.Interface.load(f"models/{models[31]}",live=True,preprocess=False),
188
+ gr.Interface.load(f"models/{models[32]}",live=True,preprocess=False),
189
+ gr.Interface.load(f"models/{models[33]}",live=True,preprocess=False),
190
+ gr.Interface.load(f"models/{models[34]}",live=True,preprocess=False),
191
+ gr.Interface.load(f"models/{models[35]}",live=True,preprocess=False),
192
+ gr.Interface.load(f"models/{models[36]}",live=True,preprocess=False),
193
+ gr.Interface.load(f"models/{models[37]}",live=True,preprocess=False),
194
+ gr.Interface.load(f"models/{models[38]}",live=True,preprocess=False),
195
+ gr.Interface.load(f"models/{models[39]}",live=True,preprocess=False),
196
+ gr.Interface.load(f"models/{models[40]}",live=True,preprocess=False),
197
+ gr.Interface.load(f"models/{models[41]}",live=True,preprocess=False),
198
+ gr.Interface.load(f"models/{models[42]}",live=True,preprocess=False),
199
+ gr.Interface.load(f"models/{models[43]}",live=True,preprocess=False),
200
+ gr.Interface.load(f"models/{models[44]}",live=True,preprocess=False),
201
+ gr.Interface.load(f"models/{models[45]}",live=True,preprocess=False),
202
+ gr.Interface.load(f"models/{models[46]}",live=True,preprocess=False),
203
+ gr.Interface.load(f"models/{models[47]}",live=True,preprocess=False),
204
+ gr.Interface.load(f"models/{models[48]}",live=True,preprocess=False),
205
+ gr.Interface.load(f"models/{models[49]}",live=True,preprocess=False),
206
+ gr.Interface.load(f"models/{models[50]}",live=True,preprocess=False),
207
+ gr.Interface.load(f"models/{models[51]}",live=True,preprocess=False),
208
+ gr.Interface.load(f"models/{models[52]}",live=True,preprocess=False),
209
+ gr.Interface.load(f"models/{models[53]}",live=True,preprocess=False),
210
+ gr.Interface.load(f"models/{models[54]}",live=True,preprocess=False),
211
+ gr.Interface.load(f"models/{models[55]}",live=True,preprocess=False),
212
+ gr.Interface.load(f"models/{models[56]}",live=True,preprocess=False),
213
+ gr.Interface.load(f"models/{models[57]}",live=True,preprocess=False),
214
+ gr.Interface.load(f"models/{models[58]}",live=True,preprocess=False),
215
+ gr.Interface.load(f"models/{models[59]}",live=True,preprocess=False),
216
+ gr.Interface.load(f"models/{models[60]}",live=True,preprocess=False),
217
+ gr.Interface.load(f"models/{models[61]}",live=True,preprocess=False),
218
+ gr.Interface.load(f"models/{models[62]}",live=True,preprocess=False),
219
+ gr.Interface.load(f"models/{models[63]}",live=True,preprocess=False),
220
+ gr.Interface.load(f"models/{models[64]}",live=True,preprocess=False),
221
+ gr.Interface.load(f"models/{models[65]}",live=True,preprocess=False),
222
+ gr.Interface.load(f"models/{models[66]}",live=True,preprocess=False),
223
+ gr.Interface.load(f"models/{models[67]}",live=True,preprocess=False),
224
+ gr.Interface.load(f"models/{models[68]}",live=True,preprocess=False),
225
+ gr.Interface.load(f"models/{models[69]}",live=True,preprocess=False),
226
+ gr.Interface.load(f"models/{models[70]}",live=True,preprocess=False),
227
+ gr.Interface.load(f"models/{models[71]}",live=True,preprocess=False),
228
+ gr.Interface.load(f"models/{models[72]}",live=True,preprocess=False),
229
+ gr.Interface.load(f"models/{models[73]}",live=True,preprocess=False),
230
+ gr.Interface.load(f"models/{models[74]}",live=True,preprocess=False),
231
+ gr.Interface.load(f"models/{models[75]}",live=True,preprocess=False),
232
+ gr.Interface.load(f"models/{models[76]}",live=True,preprocess=False),
233
+ gr.Interface.load(f"models/{models[77]}",live=True,preprocess=False),
234
+ gr.Interface.load(f"models/{models[78]}",live=True,preprocess=False),
235
+ gr.Interface.load(f"models/{models[79]}",live=True,preprocess=False),
236
+ gr.Interface.load(f"models/{models[80]}",live=True,preprocess=False),
237
+ gr.Interface.load(f"models/{models[81]}",live=True,preprocess=False),
238
+ gr.Interface.load(f"models/{models[82]}",live=True,preprocess=False),
239
+ gr.Interface.load(f"models/{models[83]}",live=True,preprocess=False),
240
+ gr.Interface.load(f"models/{models[84]}",live=True,preprocess=False),
241
+ gr.Interface.load(f"models/{models[85]}",live=True,preprocess=False),
242
+ gr.Interface.load(f"models/{models[86]}",live=True,preprocess=False),
243
+ gr.Interface.load(f"models/{models[87]}",live=True,preprocess=False),
244
+ gr.Interface.load(f"models/{models[88]}",live=True,preprocess=False),
245
+ gr.Interface.load(f"models/{models[89]}",live=True,preprocess=False),
246
+ gr.Interface.load(f"models/{models[90]}",live=True,preprocess=False),
247
+ gr.Interface.load(f"models/{models[91]}",live=True,preprocess=False),
248
+ gr.Interface.load(f"models/{models[92]}",live=True,preprocess=False),
249
+ gr.Interface.load(f"models/{models[93]}",live=True,preprocess=False),
250
+ gr.Interface.load(f"models/{models[94]}",live=True,preprocess=False),
251
+ gr.Interface.load(f"models/{models[95]}",live=True,preprocess=False),
252
+ gr.Interface.load(f"models/{models[96]}",live=True,preprocess=False),
253
+ gr.Interface.load(f"models/{models[97]}",live=True,preprocess=False),
254
+ gr.Interface.load(f"models/{models[98]}",live=True,preprocess=False),
255
+ gr.Interface.load(f"models/{models[99]}",live=True,preprocess=False),
256
+ gr.Interface.load(f"models/{models[100]}",live=True,preprocess=False),
257
+ gr.Interface.load(f"models/{models[101]}",live=True,preprocess=False),
258
+ gr.Interface.load(f"models/{models[102]}",live=True,preprocess=False),
259
+ gr.Interface.load(f"models/{models[103]}",live=True,preprocess=False),
260
+ gr.Interface.load(f"models/{models[104]}",live=True,preprocess=False),
261
+ gr.Interface.load(f"models/{models[105]}",live=True,preprocess=False),
262
+ gr.Interface.load(f"models/{models[106]}",live=True,preprocess=False),
263
+ gr.Interface.load(f"models/{models[107]}",live=True,preprocess=False),
264
+ gr.Interface.load(f"models/{models[108]}",live=True,preprocess=False),
265
+ gr.Interface.load(f"models/{models[109]}",live=True,preprocess=False),
266
+ gr.Interface.load(f"models/{models[110]}",live=True,preprocess=False),
267
+ gr.Interface.load(f"models/{models[111]}",live=True,preprocess=False),
268
+ gr.Interface.load(f"models/{models[112]}",live=True,preprocess=False),
269
+ gr.Interface.load(f"models/{models[113]}",live=True,preprocess=False),
270
+ gr.Interface.load(f"models/{models[114]}",live=True,preprocess=False),
271
+ gr.Interface.load(f"models/{models[115]}",live=True,preprocess=False),
272
+ gr.Interface.load(f"models/{models[116]}",live=True,preprocess=False),
273
+ gr.Interface.load(f"models/{models[117]}",live=True,preprocess=False),
274
+ gr.Interface.load(f"models/{models[118]}",live=True,preprocess=False),
275
+ gr.Interface.load(f"models/{models[119]}",live=True,preprocess=False),
276
+ gr.Interface.load(f"models/{models[120]}",live=True,preprocess=False),
277
+ gr.Interface.load(f"models/{models[121]}",live=True,preprocess=False),
278
+ gr.Interface.load(f"models/{models[122]}",live=True,preprocess=False),
279
+ gr.Interface.load(f"models/{models[123]}",live=True,preprocess=False),
280
+ gr.Interface.load(f"models/{models[124]}",live=True,preprocess=False),
281
+ gr.Interface.load(f"models/{models[125]}",live=True,preprocess=False),
282
+ gr.Interface.load(f"models/{models[126]}",live=True,preprocess=False),
283
+ gr.Interface.load(f"models/{models[127]}",live=True,preprocess=False),
284
+ gr.Interface.load(f"models/{models[128]}",live=True,preprocess=False),
285
+ gr.Interface.load(f"models/{models[129]}",live=True,preprocess=False),
286
+
287
+ ]
288
+
289
+
290
+ def text_it1(inputs,text_gen1=text_gen1):
291
+ go_t1=text_gen1(inputs)
292
+ return(go_t1)
293
+
294
+ def set_model(current_model):
295
+ current_model = models[current_model]
296
+ return gr.update(label=(f"{current_model}"))
297
+
298
+
299
+ def send_it1(inputs, model_choice):
300
+ proc1=models2[model_choice]
301
+ output1=proc1(inputs)
302
+ return(output1)
303
+ css=""""""
304
+
305
+
306
+ with gr.Blocks(css=css) as myface:
307
+ gr.HTML("""<!DOCTYPE html>
308
+ <html lang="en">
309
+ <head>
310
+ <meta charset="utf-8" />
311
+ <meta name="twitter:card" content="player"/>
312
+ <meta name="twitter:site" content=""/>
313
+ <meta name="twitter:player" content="https://omnibus-maximum-multiplier-places.hf.space"/>
314
+ <meta name="twitter:player:stream" content="https://omnibus-maximum-multiplier-places.hf.space"/>
315
+ <meta name="twitter:player:width" content="100%"/>
316
+ <meta name="twitter:player:height" content="600"/>
317
+ <meta property="og:title" content="Embedded Live Viewer"/>
318
+ <meta property="og:description" content="Tweet Genie - A Huggingface Space"/>
319
+ <meta property="og:image" content="https://cdn.glitch.global/80dbe92e-ce75-44af-84d5-74a2e21e9e55/omnicard.png?v=1676772531627"/>
320
+ <!--<meta http-equiv="refresh" content="0; url=https://huggingface.co/spaces/corbt/tweet-genie">-->
321
+
322
+ </head>
323
+
324
+ </html>
325
+ """)
326
+ with gr.Row():
327
+ with gr.Tab("Title"):
328
+ gr.HTML(""" <title>Minimum Multiplier</title><div style="text-align: center; max-width: 1500px; margin: 0 auto;">
329
+ <h1>Fill the Textbox at the bottom and click Generate Image</h1>
330
+ <br><h4>The first time you load a model it takes 160 seconds</h4>
331
+ <br><h4>But after it loads each image takes 10 seconds to generate!</h4>
332
+
333
+ """)
334
+
335
+ with gr.Tab("Description"):
336
+ gr.HTML("""<div style="text-align:center;">
337
+ <h4>As many Text-to-Image Models as I can fit here</h4><br>
338
+ <h4>Suggest more up in the "Community" button</h4>
339
+
340
+ </div>""")
341
+
342
+ with gr.Tab("Tools"):
343
+ with gr.Tab("View"):
344
+ with gr.Row():
345
+ with gr.Column(style="width=50%, height=70%"):
346
+ gr.Pil(label="Crop")
347
+ with gr.Column(style="width=50%, height=70%"):
348
+ gr.Pil(label="Crop")
349
+
350
+
351
+ with gr.Tab("Draw"):
352
+ with gr.Column(style="width=50%, height=70%"):
353
+ gr.Pil(label="Crop")
354
+ with gr.Column(style="width=50%, height=70%"):
355
+ gr.Pil(label="Draw")
356
+
357
+
358
+ gr.ImagePaint(label="Draw")
359
+
360
+ with gr.Tab("Text"):
361
+ with gr.Row():
362
+
363
+ with gr.Column(scale=50):
364
+ gr.Textbox(label="", lines=8, interactive=True)
365
+
366
+
367
+ with gr.Column(scale=50):
368
+ gr.Textbox(label="", lines=8, interactive=True)
369
+
370
+ with gr.Tab("Color Picker"):
371
+ with gr.Row():
372
+
373
+ with gr.Column(scale=50):
374
+ gr.ColorPicker(label="Color", interactive=True)
375
+
376
+
377
+ with gr.Column(scale=50):
378
+ gr.ImagePaint(label="Draw", interactive=True)
379
+
380
+ with gr.Row():
381
+ with gr.Column():
382
+ input_text=gr.Textbox(label="Prompt Idea",lines=2)
383
+ #Model selection dropdown
384
+ model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
385
+ with gr.Column():
386
+ use_short=gr.Button("Use Short Prompt")
387
+ see_prompts=gr.Button("Extend Idea")
388
+ run=gr.Button("Generate Image")
389
+ with gr.Tab("Main"):
390
+ with gr.Row():
391
+ output1=gr.Image(label=(f"{current_model}"))
392
+ with gr.Row():
393
+ magic1=gr.Textbox(lines=4)
394
+
395
+ def short_prompt(inputs):
396
+ return(inputs)
397
+
398
+ model_name1.change(set_model,inputs=model_name1,outputs=[output1])
399
+
400
+ run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
401
+
402
+ use_short.click(short_prompt,inputs=[input_text],outputs=magic1)
403
+
404
+ see_prompts.click(text_it1,inputs=[input_text],outputs=magic1)
405
+
406
+ myface.queue(concurrency_count=200)
407
+ myface.launch(inline=True, show_api=False, max_threads=400)
gitattributes.txt ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tflite filter=lfs diff=lfs merge=lfs -text
29
+ *.tgz filter=lfs diff=lfs merge=lfs -text
30
+ *.wasm filter=lfs diff=lfs merge=lfs -text
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
index.html ADDED
@@ -0,0 +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>