ChenyangSi commited on
Commit
8870daa
1 Parent(s): b68a11f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -143,14 +143,15 @@ with block:
143
  # pip = pip.to("cuda")
144
 
145
  with gr.Row():
146
- with gr.Row():
147
- text = gr.Textbox(
148
- label="Enter your prompt",
149
- show_label=False,
150
- max_lines=1,
151
- placeholder="Enter your prompt",
152
- container=False,
153
- )
 
154
  btn = gr.Button("Generate image", scale=0)
155
 
156
  seed = gr.Slider(label='seed',
 
143
  # pip = pip.to("cuda")
144
 
145
  with gr.Row():
146
+ with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
147
+ with gr.Column():
148
+ text = gr.Textbox(
149
+ label="Enter your prompt",
150
+ show_label=False,
151
+ max_lines=1,
152
+ placeholder="Enter your prompt",
153
+ container=False,
154
+ )
155
  btn = gr.Button("Generate image", scale=0)
156
 
157
  seed = gr.Slider(label='seed',