Spaces:
Running
Running
root
commited on
Commit
·
b1bf2a5
1
Parent(s):
cb1e213
Adjust the layout
Browse files
app.py
CHANGED
|
@@ -281,8 +281,9 @@ if __name__ == "__main__":
|
|
| 281 |
margin=False,
|
| 282 |
rounded=(True, True, True, True),
|
| 283 |
)
|
| 284 |
-
|
| 285 |
-
|
|
|
|
| 286 |
sr_gallery = gr.Gallery(
|
| 287 |
label="SR images", show_label=True, elem_id="sr_gallery"
|
| 288 |
).style(grid=[2], height="auto")
|
|
@@ -343,8 +344,9 @@ if __name__ == "__main__":
|
|
| 343 |
image_mode="RGBA",
|
| 344 |
elem_id="img2img_editor"
|
| 345 |
)
|
| 346 |
-
gr.
|
| 347 |
-
|
|
|
|
| 348 |
with gr.Tabs(visible=False):
|
| 349 |
with gr.TabItem("编辑设置"):
|
| 350 |
with gr.Row():
|
|
|
|
| 281 |
margin=False,
|
| 282 |
rounded=(True, True, True, True),
|
| 283 |
)
|
| 284 |
+
with gr.Row():
|
| 285 |
+
move_prompt_zh = gr.Markdown("请移至图生图部分进行编辑(拉到顶部)", visible=False)
|
| 286 |
+
move_prompt_en = gr.Markdown("Please move to the img2img section for editing(Pull to the top)", visible=False)
|
| 287 |
sr_gallery = gr.Gallery(
|
| 288 |
label="SR images", show_label=True, elem_id="sr_gallery"
|
| 289 |
).style(grid=[2], height="auto")
|
|
|
|
| 344 |
image_mode="RGBA",
|
| 345 |
elem_id="img2img_editor"
|
| 346 |
)
|
| 347 |
+
with gr.Row():
|
| 348 |
+
gr.Markdown('请选择一张图像掩盖掉一部分区域,并输入文本描述')
|
| 349 |
+
gr.Markdown('Please select an image to cover up a part of the area and enter a text description.')
|
| 350 |
with gr.Tabs(visible=False):
|
| 351 |
with gr.TabItem("编辑设置"):
|
| 352 |
with gr.Row():
|