RamAnanth1 commited on
Commit
e94e8b4
1 Parent(s): 3bd9ade

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ with block:
76
  ips = [input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, scale, seed, eta, low_threshold, high_threshold]
77
  run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
78
 
79
- examples = gr.Examples(examples=[["bird.png", "bird"]],inputs = [input_image, prompt], outputs = [result_gallery])
80
 
81
 
82
  block.launch(debug = True)
 
76
  ips = [input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, scale, seed, eta, low_threshold, high_threshold]
77
  run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
78
 
79
+ examples = gr.Examples(examples=[["bird.png", "bird"]],inputs = [input_image, prompt], outputs = [result_gallery], cache_examples = True, fn = process)
80
 
81
 
82
  block.launch(debug = True)