Rooni commited on
Commit
579f28d
·
1 Parent(s): 1a2ba23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -207,8 +207,13 @@ css = """
207
  """
208
 
209
  with gr.Blocks(css=css) as demo:
210
-
211
  with gr.Tabs() as tabs:
 
 
 
 
 
212
  with gr.Tab("txt2img", id='t2i'):
213
 
214
  with gr.Row():
@@ -290,9 +295,5 @@ with gr.Blocks(css=css) as demo:
290
 
291
  i2i_text_button.click(img2img, inputs=[i2i_image_input, i2i_denoising, i2i_prompt, i2i_negative_prompt, model, i2i_steps, i2i_sampler, i2i_cfg_scale, i2i_width, i2i_height, i2i_seed], outputs=i2i_image_output)
292
 
293
- with gr.Tab("Модель", id='mdl'):
294
- with gr.Row():
295
- with gr.Column(scale=6):
296
- model = gr.Radio(interactive=True,value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=True, label="Модель", choices=prodia_client.list_models())
297
-
298
  demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)
 
207
  """
208
 
209
  with gr.Blocks(css=css) as demo:
210
+
211
  with gr.Tabs() as tabs:
212
+ with gr.Tab("Модель", id='mdl'):
213
+ with gr.Row():
214
+ with gr.Column(scale=6):
215
+ model = gr.Radio(interactive=True,value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=True, label="Модель", choices=prodia_client.list_models())
216
+
217
  with gr.Tab("txt2img", id='t2i'):
218
 
219
  with gr.Row():
 
295
 
296
  i2i_text_button.click(img2img, inputs=[i2i_image_input, i2i_denoising, i2i_prompt, i2i_negative_prompt, model, i2i_steps, i2i_sampler, i2i_cfg_scale, i2i_width, i2i_height, i2i_seed], outputs=i2i_image_output)
297
 
298
+
 
 
 
 
299
  demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)