ehristoforu commited on
Commit
8b990bd
1 Parent(s): edf4851

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -169,11 +169,11 @@ with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as dalle:
169
  """
170
  )
171
 
172
- with gr.Row(elem_id="prompt-container"):
173
  image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
174
-
175
- text_prompt = gr.Textbox(label="Prompt", placeholder="a cute cat", lines=1, elem_id="prompt-text-input")
176
- text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
177
 
178
  with gr.Accordion("Advanced settings", open=False):
179
  negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", lines=1, elem_id="negative-prompt-text-input")
 
169
  """
170
  )
171
 
172
+ with gr.Row():
173
  image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
174
+ with gr.Column(elem_id="prompt-container"):
175
+ text_prompt = gr.Textbox(label="Prompt", placeholder="a cute cat", lines=1, elem_id="prompt-text-input")
176
+ text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
177
 
178
  with gr.Accordion("Advanced settings", open=False):
179
  negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", lines=1, elem_id="negative-prompt-text-input")