Spaces:
Running
on
Zero
Running
on
Zero
add gr.Examples
Browse files
app.py
CHANGED
|
@@ -260,7 +260,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 260 |
|
| 261 |
rewrite_prompt = gr.Checkbox(label="Rewrite prompt", value=True)
|
| 262 |
|
| 263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
|
| 265 |
gr.on(
|
| 266 |
triggers=[run_button.click, prompt.submit],
|
|
|
|
| 260 |
|
| 261 |
rewrite_prompt = gr.Checkbox(label="Rewrite prompt", value=True)
|
| 262 |
|
| 263 |
+
gr.Examples(examples=[
|
| 264 |
+
["neon_sign.png", "change the text to read 'Qwen Image Edit is here'"],
|
| 265 |
+
["cat_sitting.jpg", "make the cat floating in the air and holding a sign that reads 'this is fun' written with a blue crayon"],
|
| 266 |
+
["pie.png", "turn the style of the photo to vintage comic book"]],
|
| 267 |
+
inputs=[input_image, prompt],
|
| 268 |
+
outputs=[result, seed],
|
| 269 |
+
fn=infer,
|
| 270 |
+
cache_examples=False)
|
| 271 |
|
| 272 |
gr.on(
|
| 273 |
triggers=[run_button.click, prompt.submit],
|