ariG23498 HF staff commited on
Commit
c69be82
·
1 Parent(s): 9495b6c

add seed to examples

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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"