Spaces:
Runtime error
Runtime error
zhoudewei.666 commited on
Commit ·
ddcfea6
1
Parent(s): f3b512b
docs: clarify reference image brush behavior in description
Browse files
app.py
CHANGED
|
@@ -762,13 +762,14 @@ def build_app():
|
|
| 762 |
_DESCRIPTION_EN = """\
|
| 763 |
**RefineAnything** refines local regions of an image guided by a text prompt. \
|
| 764 |
Upload a source image, **brush over the area** you want to edit, and describe the desired change. \
|
| 765 |
-
Optionally upload a
|
|
|
|
| 766 |
"""
|
| 767 |
|
| 768 |
_DESCRIPTION_CN = """\
|
| 769 |
**RefineAnything** 根据文字提示精修图片的局部区域。\
|
| 770 |
上传一张源图,**用画笔涂抹**需要编辑的区域,再输入想要的修改描述即可。\
|
| 771 |
-
可选上传第二张参考图来引导风格/内容。\
|
| 772 |
"""
|
| 773 |
|
| 774 |
with gr.Blocks(title="RefineAnything", theme=gr.themes.Soft()) as demo:
|
|
|
|
| 762 |
_DESCRIPTION_EN = """\
|
| 763 |
**RefineAnything** refines local regions of an image guided by a text prompt. \
|
| 764 |
Upload a source image, **brush over the area** you want to edit, and describe the desired change. \
|
| 765 |
+
Optionally upload a reference image for style/content guidance — \
|
| 766 |
+
leave it as-is to reference the whole image, or **brush on it** to specify exactly which region to reference.\
|
| 767 |
"""
|
| 768 |
|
| 769 |
_DESCRIPTION_CN = """\
|
| 770 |
**RefineAnything** 根据文字提示精修图片的局部区域。\
|
| 771 |
上传一张源图,**用画笔涂抹**需要编辑的区域,再输入想要的修改描述即可。\
|
| 772 |
+
可选上传第二张参考图来引导风格/内容——不涂抹则参考整张图,**涂抹则精确指定参考区域**。\
|
| 773 |
"""
|
| 774 |
|
| 775 |
with gr.Blocks(title="RefineAnything", theme=gr.themes.Soft()) as demo:
|