linoyts HF Staff commited on
Commit
1486e38
·
verified ·
1 Parent(s): ac4f1da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -90,7 +90,17 @@ with gr.Blocks(css=css) as demo:
90
  reuse_button = gr.Button("Reuse this image", visible=False)
91
 
92
 
93
-
 
 
 
 
 
 
 
 
 
 
94
  gr.on(
95
  triggers=[run_button.click, prompt.submit],
96
  fn = infer,
 
90
  reuse_button = gr.Button("Reuse this image", visible=False)
91
 
92
 
93
+ gr.Examples(
94
+ examples=[
95
+ ["./assets/5_before.png", "sunset over sea lighting coming from the top right part of the photo", 0, True, 2.5],
96
+ ["./assets/3_before.png", "sci-fi RGB glowing, studio lighting",0, True,2.5],
97
+ ["./assets/2_before.png", "neon light, city",0, True, 2.5]
98
+ ],
99
+ inputs=[input_image, prompt, seed, randomize_seed, guidance_scale],
100
+ outputs=[result, seed, reuse_button],
101
+ fn=infer,
102
+ cache_examples="lazy"
103
+ )
104
  gr.on(
105
  triggers=[run_button.click, prompt.submit],
106
  fn = infer,