ehristoforu commited on
Commit
3e8991a
·
1 Parent(s): f6aa7b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -107,7 +107,8 @@ with gr.Blocks(model="sd_xl_base_1.0.safetensors [be9edd61]", sampler="DPM++ 2M
107
  with gr.Column(scale=6, min_width=600):
108
  prompt = gr.Textbox(label="Prompt", placeholder="a cute cat, 8k", show_label=True, lines=1)
109
  text_button = gr.Button("Generate", variant='primary', elem_id="generate")
110
-
 
111
  with gr.Row():
112
  with gr.Accordion("Additionals inputs", open=False):
113
  with gr.Column(scale=1):
@@ -122,8 +123,7 @@ with gr.Blocks(model="sd_xl_base_1.0.safetensors [be9edd61]", sampler="DPM++ 2M
122
 
123
 
124
 
125
- with gr.Column(scale=1):
126
- image_output = gr.Image()
127
 
128
  text_button.click(flip_text, inputs=[prompt, negative_prompt, steps, cfg_scale, width, height, seed], outputs=image_output)
129
 
 
107
  with gr.Column(scale=6, min_width=600):
108
  prompt = gr.Textbox(label="Prompt", placeholder="a cute cat, 8k", show_label=True, lines=1)
109
  text_button = gr.Button("Generate", variant='primary', elem_id="generate")
110
+ with gr.Column(scale=1):
111
+ image_output = gr.Image()
112
  with gr.Row():
113
  with gr.Accordion("Additionals inputs", open=False):
114
  with gr.Column(scale=1):
 
123
 
124
 
125
 
126
+
 
127
 
128
  text_button.click(flip_text, inputs=[prompt, negative_prompt, steps, cfg_scale, width, height, seed], outputs=image_output)
129