Akjava commited on
Commit
a223591
·
1 Parent(s): 34adeab
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,7 +89,7 @@ with demo_blocks as demo:
89
 
90
 
91
 
92
- btn.click(fn=process_images, inputs=[image, image_mask,prompt,inpaint_model,strength,seed], outputs =image_out, api_name='infer')
93
  gr.Examples(
94
  examples=[
95
  ["images/00547245_99.jpg", "images/00547245_99_mask.jpg","a beautiful girl,eyes closed",0.8,"00547245"],
@@ -100,7 +100,7 @@ with demo_blocks as demo:
100
  fn=example_out,
101
  inputs=[image,image_mask,prompt,strength,id_input],
102
  outputs=[image_out],
103
- cache_examples="lazy",
104
  )
105
  gr.HTML(
106
  """
 
89
 
90
 
91
 
92
+ btn.click(fn=process_images, inputs=[image, image_mask,prompt,inpaint_model,strength,seed], outputs =image_out, api_name='infer',variant="primary")
93
  gr.Examples(
94
  examples=[
95
  ["images/00547245_99.jpg", "images/00547245_99_mask.jpg","a beautiful girl,eyes closed",0.8,"00547245"],
 
100
  fn=example_out,
101
  inputs=[image,image_mask,prompt,strength,id_input],
102
  outputs=[image_out],
103
+ cache_examples=True,
104
  )
105
  gr.HTML(
106
  """