Spaces:
Running
Running
text
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ from PIL import Image
|
|
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.
|
@@ -115,7 +116,7 @@ def main():
|
|
115 |
|
116 |
with gr.Row():
|
117 |
with gr.Column(scale=3):
|
118 |
-
instruction = gr.Textbox(lines=1, label="Edit
|
119 |
with gr.Column(scale=1):
|
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 |
|
|
|
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 |
+
|
25 |
Step 2. Type in the caption/instruction text box, and click "Edit" to edit the current image using Seed-Edit.
|
26 |
|
27 |
This is a demo with limited QPS and a simple interface.
|
|
|
116 |
|
117 |
with gr.Row():
|
118 |
with gr.Column(scale=3):
|
119 |
+
instruction = gr.Textbox(lines=1, label="Caption/Edit Instruction", interactive=True, value=None)
|
120 |
with gr.Column(scale=1):
|
121 |
cfg_scale = gr.Slider(value=0.5, minimum=0.0, maximum=1.0, step=0.1, label="Edit/Text Strength (CFG)", interactive=True)
|
122 |
|