root commited on
Commit
60ad9d6
1 Parent(s): e8b9ef5

Adjust the layout

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -349,7 +349,7 @@ if __name__ == "__main__":
349
  image_mode="RGBA",
350
  elem_id="img2img_editor"
351
  )
352
- with gr.Tabs(visible=False):
353
  with gr.TabItem("编辑设置"):
354
  with gr.Row():
355
  # disable Uncrop for now
@@ -405,10 +405,11 @@ if __name__ == "__main__":
405
  inputs=output_img2img_seed, outputs=[],
406
  _js=call_JS("gradioInputToClipboard"), fn=None, show_progress=False)
407
  output_img2img_stats = gr.HTML(label='Stats')
408
- with gr.Row():
409
- gr.Markdown('请选择一张图像掩盖掉一部分区域,并输入文本描述')
410
- with gr.Row():
411
- gr.Markdown('Please select an image to cover up a part of the area and enter a text description.')
 
412
  gr.Markdown('# 编辑设置',visible=False)
413
 
414
  with gr.Row(visible=False):
 
349
  image_mode="RGBA",
350
  elem_id="img2img_editor"
351
  )
352
+ with gr.Tabs(visible=True):
353
  with gr.TabItem("编辑设置"):
354
  with gr.Row():
355
  # disable Uncrop for now
 
405
  inputs=output_img2img_seed, outputs=[],
406
  _js=call_JS("gradioInputToClipboard"), fn=None, show_progress=False)
407
  output_img2img_stats = gr.HTML(label='Stats')
408
+
409
+ with gr.Row():
410
+ gr.Markdown('请选择一张图像掩盖掉一部分区域,并输入文本描述')
411
+ with gr.Row():
412
+ gr.Markdown('Please select an image to cover up a part of the area and enter a text description.')
413
  gr.Markdown('# 编辑设置',visible=False)
414
 
415
  with gr.Row(visible=False):