multimodalart HF staff victor HF staff commited on
Commit
161f8a2
1 Parent(s): 9132934

Align layout (#18)

Browse files

- Align layout (9c03ea0357e16ff2712c397dec30dc379fa3340c)


Co-authored-by: Victor M <victor@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -62,13 +62,7 @@ css = """
62
  margin: auto;
63
  padding-top: 1.5rem;
64
  }
65
- #prompt-area {
66
- max-width: 650px;
67
- margin-left: auto;
68
- margin-right: auto
69
- }
70
  #gallery {
71
- max-width: 650px;
72
  min-height: 22rem;
73
  margin-bottom: 15px;
74
  margin-left: auto;
@@ -237,7 +231,7 @@ with block:
237
  """
238
  )
239
  with gr.Group():
240
- with gr.Box(elem_id="prompt-area"):
241
  with gr.Row().style(mobile_collapse=False, equal_height=True):
242
  text = gr.Textbox(
243
  label="Enter your prompt",
 
62
  margin: auto;
63
  padding-top: 1.5rem;
64
  }
 
 
 
 
 
65
  #gallery {
 
66
  min-height: 22rem;
67
  margin-bottom: 15px;
68
  margin-left: auto;
 
231
  """
232
  )
233
  with gr.Group():
234
+ with gr.Box():
235
  with gr.Row().style(mobile_collapse=False, equal_height=True):
236
  text = gr.Textbox(
237
  label="Enter your prompt",