ehristoforu commited on
Commit
d4df1db
1 Parent(s): 937a6cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -25
app.py CHANGED
@@ -252,31 +252,30 @@ with block:
252
  """
253
  )
254
  with gr.Group():
255
- with gr.Box():
256
- with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
257
- with gr.Column():
258
- text = gr.Textbox(
259
- label="Enter your prompt",
260
- show_label=False,
261
- max_lines=1,
262
- placeholder="Enter your prompt",
263
- elem_id="prompt-text-input",
264
- ).style(
265
- border=(True, False, True, True),
266
- rounded=(True, False, False, True),
267
- container=False,
268
- )
269
- negative = gr.Textbox(
270
- label="Enter your negative prompt",
271
- show_label=False,
272
- max_lines=1,
273
- placeholder="Enter a negative prompt",
274
- elem_id="negative-prompt-text-input",
275
- ).style(
276
- border=(True, False, True, True),
277
- rounded=(True, False, False, True),
278
- container=False,
279
- )
280
  btn = gr.Button("Generate image").style(
281
  margin=False,
282
  rounded=(False, True, True, False),
 
252
  """
253
  )
254
  with gr.Group():
255
+ with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
256
+ with gr.Column():
257
+ text = gr.Textbox(
258
+ label="Enter your prompt",
259
+ show_label=False,
260
+ max_lines=1,
261
+ placeholder="Enter your prompt",
262
+ elem_id="prompt-text-input",
263
+ ).style(
264
+ border=(True, False, True, True),
265
+ rounded=(True, False, False, True),
266
+ container=False,
267
+ )
268
+ negative = gr.Textbox(
269
+ label="Enter your negative prompt",
270
+ show_label=False,
271
+ max_lines=1,
272
+ placeholder="Enter a negative prompt",
273
+ elem_id="negative-prompt-text-input",
274
+ ).style(
275
+ border=(True, False, True, True),
276
+ rounded=(True, False, False, True),
277
+ container=False,
278
+ )
 
279
  btn = gr.Button("Generate image").style(
280
  margin=False,
281
  rounded=(False, True, True, False),