root commited on
Commit
f58a3de
1 Parent(s): f87b80f

Adjust the layout

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -337,7 +337,7 @@ if __name__ == "__main__":
337
  type='pil',
338
  elem_id="img2img_mask",
339
  image_mode="RGBA"
340
- ).style(height=762)
341
  img2img_image_editor = gr.Image(
342
  value=sample_img2img,
343
  source="upload",
@@ -379,7 +379,7 @@ if __name__ == "__main__":
379
  gr.Markdown('#### 编辑后的图片')
380
  with gr.Row():
381
  output_img2img_gallery = gr.Gallery(label="Images", elem_id="img2img_gallery_output").style(
382
- grid=[1,1],height='762px')
383
  img2img_job_ui = job_manager.draw_gradio_ui() if job_manager else None
384
  with gr.Column(visible=False):
385
  with gr.Tabs(visible=False):
 
337
  type='pil',
338
  elem_id="img2img_mask",
339
  image_mode="RGBA"
340
+ ).style(height=512)
341
  img2img_image_editor = gr.Image(
342
  value=sample_img2img,
343
  source="upload",
 
379
  gr.Markdown('#### 编辑后的图片')
380
  with gr.Row():
381
  output_img2img_gallery = gr.Gallery(label="Images", elem_id="img2img_gallery_output").style(
382
+ grid=[1,1])
383
  img2img_job_ui = job_manager.draw_gradio_ui() if job_manager else None
384
  with gr.Column(visible=False):
385
  with gr.Tabs(visible=False):