xh365 commited on
Commit
2e7f19e
·
1 Parent(s): 195aa1e

center aligned

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -390,8 +390,8 @@ css="""
390
  }
391
  #compact-row {
392
  width:100%;
393
- max-width: 1000px;
394
- margin: 0px auto;
395
  }
396
  """
397
 
@@ -496,7 +496,7 @@ with gr.Blocks(theme=gr.themes.Soft(font=[gr.themes.GoogleFont("Inconsolata"), "
496
  )
497
  next_btn2 = gr.Button("Generate", variant="primary", scale=1, interactive=False, visible=False)
498
 
499
- with gr.Row():
500
  with gr.Column(elem_id="col-container"):
501
  gallery_state2 = gr.State(IMAGES[DEFAULT_SCENARIO]["ours"])
502
  images_method2 = gr.Gallery(height=420, show_label=False, columns=[4], rows=[1], elem_id="gallery")
 
390
  }
391
  #compact-row {
392
  width:100%;
393
+ max-width: 1000px;
394
+ margin: 0px auto;
395
  }
396
  """
397
 
 
496
  )
497
  next_btn2 = gr.Button("Generate", variant="primary", scale=1, interactive=False, visible=False)
498
 
499
+ with gr.Row(elem_id="compact-row"):
500
  with gr.Column(elem_id="col-container"):
501
  gallery_state2 = gr.State(IMAGES[DEFAULT_SCENARIO]["ours"])
502
  images_method2 = gr.Gallery(height=420, show_label=False, columns=[4], rows=[1], elem_id="gallery")