Spaces:
Running
Running
update issue
Browse files
app.py
CHANGED
@@ -20,11 +20,14 @@ from PIL import Image
|
|
20 |
|
21 |
help_text = """
|
22 |
## How to use this Demo
|
23 |
-
1. Type in the caption/instruction text box, and click "Generate" to generate an initial image using Seed-T2I.
|
24 |
-
2. Type in the caption/instruction text box, and click "Edit" to edit the current image using Seed-Edit.
|
25 |
|
26 |
This is a demo with limited QPS and a simple interface.
|
27 |
-
For a better experience, please use Doubao/Dreamina APP.
|
|
|
|
|
|
|
28 |
|
29 |
<font size=2>Note: This demo is governed by the license of CC BY-NC \
|
30 |
We strongly advise users not to knowingly generate or allow others to knowingly generate harmful content, \
|
@@ -117,7 +120,7 @@ def main():
|
|
117 |
cfg_scale = gr.Slider(value=0.5, minimum=0.0, maximum=1.0, step=0.1, label="Edit/Text Strength (CFG)", interactive=True)
|
118 |
|
119 |
with gr.Row():
|
120 |
-
input_image = gr.Image(label="Input Image", type="pil", interactive=
|
121 |
height=resolution, width=resolution)
|
122 |
edited_image = gr.Image(label="Edited Image", type="pil", interactive=False,
|
123 |
height=resolution, width=resolution)
|
|
|
20 |
|
21 |
help_text = """
|
22 |
## How to use this Demo
|
23 |
+
Step 1. Type in the caption/instruction text box, and click "Generate" to generate an initial image using Seed-T2I.
|
24 |
+
Step 2. Type in the caption/instruction text box, and click "Edit" to edit the current image using Seed-Edit.
|
25 |
|
26 |
This is a demo with limited QPS and a simple interface.
|
27 |
+
For a better experience, please use [Doubao](https://www.doubao.com/chat/)/[Dreamina](https://dreamina.capcut.com/ai-tool/image/generate) APP.
|
28 |
+
|
29 |
+
- The current demo does not support multi-round editing, which may lead to overexposure with multiple rounds of upload and download edits.
|
30 |
+
- Higher-quality input images will produce higher-quality edited results. For low-quality images, unwanted changes, e.g. facial id, may occur.
|
31 |
|
32 |
<font size=2>Note: This demo is governed by the license of CC BY-NC \
|
33 |
We strongly advise users not to knowingly generate or allow others to knowingly generate harmful content, \
|
|
|
120 |
cfg_scale = gr.Slider(value=0.5, minimum=0.0, maximum=1.0, step=0.1, label="Edit/Text Strength (CFG)", interactive=True)
|
121 |
|
122 |
with gr.Row():
|
123 |
+
input_image = gr.Image(label="Input Image", type="pil", interactive=True,
|
124 |
height=resolution, width=resolution)
|
125 |
edited_image = gr.Image(label="Edited Image", type="pil", interactive=False,
|
126 |
height=resolution, width=resolution)
|