Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -481,13 +481,13 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 481 |
with gr.Column(scale=2):
|
| 482 |
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
| 483 |
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
|
| 492 |
use_negative_prompt.change(
|
| 493 |
fn=lambda x: gr.update(visible=x),
|
|
|
|
| 481 |
with gr.Column(scale=2):
|
| 482 |
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
| 483 |
|
| 484 |
+
gr.Examples(
|
| 485 |
+
examples=examples,
|
| 486 |
+
inputs=prompt,
|
| 487 |
+
outputs=[result, seed],
|
| 488 |
+
fn=generate,
|
| 489 |
+
cache_examples=CACHE_EXAMPLES,
|
| 490 |
+
)
|
| 491 |
|
| 492 |
use_negative_prompt.change(
|
| 493 |
fn=lambda x: gr.update(visible=x),
|