John6666 commited on
Commit
0ada655
1 Parent(s): 2d3fb79

Upload 3 files

Browse files
Files changed (2) hide show
  1. README.md +4 -7
  2. app.py +12 -5
README.md CHANGED
@@ -1,16 +1,13 @@
1
  ---
2
- title: 800+ AI Art Models 6 Outputs (Gradio 4.x, Single Gallery) (Huggingface Diffusion)
3
  emoji: 🛕🛕
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 4.42.0
8
  app_file: app.py
9
- pinned: false
10
- duplicated_from:
11
- - Yntec/Diffusion80XX
12
- - Yntec/HuggingfaceDiffusion
13
- short_description: Compare up to 6 image models!
14
  ---
15
 
16
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: Huggingface Diffusion
3
  emoji: 🛕🛕
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 5.0.1
8
  app_file: app.py
9
+ pinned: true
10
+ short_description: Compare 909+ AI Art Models 6 at a time!
 
 
 
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -110,8 +110,15 @@ CSS="""
110
  """
111
 
112
 
113
- with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
114
- with gr.Tab('The Dream'):
 
 
 
 
 
 
 
115
  with gr.Column(scale=2):
116
  with gr.Group():
117
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
@@ -137,7 +144,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
137
  with gr.Group():
138
  with gr.Row():
139
  output = [gr.Image(label=m, show_download_button=True, elem_classes="output",
140
- interactive=False, min_width=80, show_share_button=False, format="png",
141
  visible=True) for m in default_models]
142
  current_models = [gr.Textbox(m, visible=False) for m in default_models]
143
 
@@ -186,7 +193,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
186
  with gr.Group():
187
  with gr.Row():
188
  output2 = [gr.Image(label='', show_download_button=True, elem_classes="output",
189
- interactive=False, min_width=80, visible=True, format="png",
190
  show_share_button=False, show_label=False) for _ in range(max_images)]
191
 
192
  with gr.Column(scale=2):
@@ -207,6 +214,6 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
207
 
208
  gr.Markdown("Based on the [TestGen](https://huggingface.co/spaces/derwahnsinn/TestGen) Space by derwahnsinn, the [SpacIO](https://huggingface.co/spaces/RdnUser77/SpacIO_v1) Space by RdnUser77 and Omnibus's Maximum Multiplier!")
209
 
210
- demo.queue(default_concurrency_limit=200, max_size=200)
211
  demo.launch(show_api=False, max_threads=400)
212
  # https://github.com/gradio-app/gradio/issues/6339
 
110
  """
111
 
112
 
113
+ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=CSS) as demo:
114
+ gr.HTML(
115
+ """
116
+ <div>
117
+ <p> <center>For simultaneous generations without hidden queue check out <a href="https://huggingface.co/spaces/Yntec/ToyWorld">Toy World</a>! For more options like single model x6 check out <a href="https://huggingface.co/spaces/John6666/Diffusion80XX4sg">Diffusion80XX4sg</a> by John6666!</center>
118
+ </p></div>
119
+ """
120
+ )
121
+ with gr.Tab('Huggingface Diffusion'):
122
  with gr.Column(scale=2):
123
  with gr.Group():
124
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
 
144
  with gr.Group():
145
  with gr.Row():
146
  output = [gr.Image(label=m, show_download_button=True, elem_classes="output",
147
+ interactive=False, width=112, height=112, show_share_button=False, format="png",
148
  visible=True) for m in default_models]
149
  current_models = [gr.Textbox(m, visible=False) for m in default_models]
150
 
 
193
  with gr.Group():
194
  with gr.Row():
195
  output2 = [gr.Image(label='', show_download_button=True, elem_classes="output",
196
+ interactive=False, width=112, height=112, visible=True, format="png",
197
  show_share_button=False, show_label=False) for _ in range(max_images)]
198
 
199
  with gr.Column(scale=2):
 
214
 
215
  gr.Markdown("Based on the [TestGen](https://huggingface.co/spaces/derwahnsinn/TestGen) Space by derwahnsinn, the [SpacIO](https://huggingface.co/spaces/RdnUser77/SpacIO_v1) Space by RdnUser77 and Omnibus's Maximum Multiplier!")
216
 
217
+ #demo.queue(default_concurrency_limit=200, max_size=200)
218
  demo.launch(show_api=False, max_threads=400)
219
  # https://github.com/gradio-app/gradio/issues/6339