Spaces:
Runtime error
Runtime error
add seed to examples
Browse files
app.py
CHANGED
|
@@ -87,10 +87,10 @@ def launch_app():
|
|
| 87 |
|
| 88 |
gr.Examples(
|
| 89 |
examples=[
|
| 90 |
-
["Turn the color of the mushroom to gray", "mushroom.jpg"],
|
| 91 |
-
["Make the mushroom polka-dotted", "mushroom.jpg"],
|
| 92 |
],
|
| 93 |
-
inputs=[prompt, input_image],
|
| 94 |
outputs=[output_image],
|
| 95 |
fn=generate,
|
| 96 |
cache_examples="lazy"
|
|
|
|
| 87 |
|
| 88 |
gr.Examples(
|
| 89 |
examples=[
|
| 90 |
+
["Turn the color of the mushroom to gray", "mushroom.jpg", 42],
|
| 91 |
+
["Make the mushroom polka-dotted", "mushroom.jpg", 100],
|
| 92 |
],
|
| 93 |
+
inputs=[prompt, input_image, seed],
|
| 94 |
outputs=[output_image],
|
| 95 |
fn=generate,
|
| 96 |
cache_examples="lazy"
|