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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -209,10 +209,6 @@ css = """
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
 
@@ -294,6 +290,10 @@ with gr.Blocks(css=css) as demo:
294
  i2i_image_output = gr.Image()
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)
 
209
  with gr.Blocks(css=css) as demo:
210
 
211
  with gr.Tabs() as tabs:
 
 
 
 
212
 
213
  with gr.Tab("txt2img", id='t2i'):
214
 
 
290
  i2i_image_output = gr.Image()
291
 
292
  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)
 
293
 
294
+ with gr.Tab("Модель", id='mdl'):
295
+ with gr.Row():
296
+ with gr.Column(scale=6):
297
+ model = gr.Radio(interactive=True,value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=True, label="Модель", choices=prodia_client.list_models())
298
+
299
  demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)