Spaces:
Running
on
Zero
Running
on
Zero
Update app.py (#6)
Browse files- Update app.py (1f1283bc6ad32e81228ae1a7e0395d20441ff66a)
Co-authored-by: Shengming Yin <[email protected]>
app.py
CHANGED
|
@@ -129,14 +129,16 @@ examples = [
|
|
| 129 |
with gr.Blocks() as demo:
|
| 130 |
with gr.Column(elem_id="col-container"):
|
| 131 |
gr.HTML('<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/layered/qwen-image-layered-logo.png" alt="Qwen-Image-Layered Logo" width="600" style="display: block; margin: 0 auto;">')
|
| 132 |
-
|
|
|
|
|
|
|
| 133 |
with gr.Row():
|
| 134 |
with gr.Column(scale=1):
|
| 135 |
input_image = gr.Image(label="Input Image", image_mode="RGBA")
|
| 136 |
|
| 137 |
prompt = gr.Textbox(
|
| 138 |
label="Prompt (Optional)",
|
| 139 |
-
placeholder="Please enter the prompt to
|
| 140 |
value="",
|
| 141 |
lines=2,
|
| 142 |
)
|
|
|
|
| 129 |
with gr.Blocks() as demo:
|
| 130 |
with gr.Column(elem_id="col-container"):
|
| 131 |
gr.HTML('<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/layered/qwen-image-layered-logo.png" alt="Qwen-Image-Layered Logo" width="600" style="display: block; margin: 0 auto;">')
|
| 132 |
+
gr.Markdown("""
|
| 133 |
+
The text prompt is intended to describe the overall content of the input image—including elements that may be partially occluded (e.g., you may specify the text hidden behind a foreground object). It is not designed to control the semantic content of individual layers explicitly.
|
| 134 |
+
""")
|
| 135 |
with gr.Row():
|
| 136 |
with gr.Column(scale=1):
|
| 137 |
input_image = gr.Image(label="Input Image", image_mode="RGBA")
|
| 138 |
|
| 139 |
prompt = gr.Textbox(
|
| 140 |
label="Prompt (Optional)",
|
| 141 |
+
placeholder="Please enter the prompt to descibe the image. (Optional)",
|
| 142 |
value="",
|
| 143 |
lines=2,
|
| 144 |
)
|