multimodalart HF staff commited on
Commit
30a52e1
1 Parent(s): a1c2ce2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -19
app.py CHANGED
@@ -257,25 +257,24 @@ with block:
257
  """
258
  )
259
  with gr.Group():
260
- with gr.Box():
261
- with gr.Row(elem_id="prompt-container"):
262
- with gr.Column(scale=3):
263
- text = gr.Textbox(
264
- label="Enter your prompt",
265
- show_label=False,
266
- max_lines=1,
267
- placeholder="Enter your prompt",
268
- elem_id="prompt-text-input",
269
- )
270
- negative = gr.Textbox(
271
- label="Enter your negative prompt",
272
- show_label=False,
273
- max_lines=1,
274
- placeholder="Enter a negative prompt",
275
- elem_id="negative-prompt-text-input",
276
- )
277
- with gr.Column(scale=1):
278
- btn = gr.Button("Generate image")
279
 
280
  gallery = gr.Gallery(
281
  label="Generated images", show_label=False, elem_id="gallery"
 
257
  """
258
  )
259
  with gr.Group():
260
+ with gr.Row(elem_id="prompt-container"):
261
+ with gr.Column(scale=3):
262
+ text = gr.Textbox(
263
+ label="Enter your prompt",
264
+ show_label=False,
265
+ max_lines=1,
266
+ placeholder="Enter your prompt",
267
+ elem_id="prompt-text-input",
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
+ )
276
+ with gr.Column(scale=1):
277
+ btn = gr.Button("Generate image")
 
278
 
279
  gallery = gr.Gallery(
280
  label="Generated images", show_label=False, elem_id="gallery"