Spaces:
Build error
Build error
update issue
Browse files19 unmodified lines202122232425262728293086 unmodified lines11711811912012112212319 unmodified lineshelp_text = """## How to use this Demo1. Type in the caption/instruction text box, and click "Generate" to generate an initial image using Seed-T2I.2. Type in the caption/instruction text box, and click "Edit" to edit the current image using Seed-Edit.This is a demo with limited QPS and a simple interface.For a better experience, please use Doubao/Dreamina APP.<font size=2>Note: This demo is governed by the license of CC BY-NC \We strongly advise users not to knowingly generate or allow others to knowingly generate harmful content, \86 unmodified linescfg_scale = gr.Slider(value=0.5, minimum=0.0, maximum=1.0, step=0.1, label="Edit/Text Strength (CFG)", interactive=True)with gr.Row():input_image = gr.Image(label="Input Image", type="pil", interactive=False,height=resolution, width=resolution)edited_image = gr.Image(label="Edited Image", type="pil", interactive=False,height=resolution, width=resolution)19 unmodified lines202122232425262728293031323386 unmodified lines12012112212312412512619 unmodified lineshelp_text = """## How to use this DemoStep 1. Type in the caption/instruction text box, and click "Generate" to generate an initial image using Seed-T2I.Step 2. Type in the caption/instruction text box, and click "Edit" to edit the current image using Seed-Edit.This is a demo with limited QPS and a simple interface.For a better experience, please use [Doubao](https://www.doubao.com/chat/)/[Dreamina](https://dreamina.capcut.com/ai-tool/image/generate) APP.- The current demo does not support multi-round editing, which may lead to overexposure with multiple rounds of upload and download edits.- Higher-quality input images will produce higher-quality edited results. For low-quality images, unwanted changes, e.g. facial id, may occur.<font size=2>Note: This demo is governed by the license of CC BY-NC \We strongly advise users not to knowingly generate or allow others to knowingly generate harmful content, \86 unmodified linescfg_scale = gr.Slider(value=0.5, minimum=0.0, maximum=1.0, step=0.1, label="Edit/Text Strength (CFG)", interactive=True)with gr.Row():input_image = gr.Image(label="Input Image", type="pil", interactive=True,height=resolution, width=resolution)edited_image = gr.Image(label="Edited Image", type="pil", interactive=False,height=resolution, width=resolution)
app.py+7-4