"include/vscode:/vscode.git/clone" did not exist on "e83c7061a16fe178be07ca40cd675e6799fd288a"
Commit d7f119db authored by chenpangpang's avatar chenpangpang
Browse files

feat: 优化提示

parent 653cf5f3
......@@ -204,9 +204,9 @@ with gr.Blocks(css=css) as demo:
)
uploaded_files = gr.Gallery(label="你的图片", visible=False, columns=5, rows=1, height=200)
with gr.Column(visible=False) as clear_button:
remove_and_reupload = gr.ClearButton(value="移除以及重新上传", components=files, size="sm")
remove_and_reupload = gr.ClearButton(value="移除重新上传", components=files, size="sm")
prompt = gr.Textbox(label="Prompt",
info="尝试类似'a photo of a man/woman img'的词, 'img'是触发词",
info="尝试类似'a photo of a man/woman img'的词, 'img'是触发词,必须包含",
placeholder="A photo of a [man/woman img]...")
style = gr.Dropdown(label="风格", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
aspect_ratio = gr.Dropdown(label="输出纵横比", choices=ASPECT_RATIO_LABELS,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment