Yntec commited on
Commit
6adca2a
1 Parent(s): fe72aac

Upload 4 files

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