fffiloni commited on
Commit
f5fe334
β€’
1 Parent(s): 95a3580

added flagging

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,4 +51,4 @@ def predict(source_img, prompt):
51
  custom_css="style.css"
52
  title="InPainting Stable Diffusion CPU"
53
  description="Inpainting Stable Diffusion example using CPU and HF token. <br />Warning: Slow process... ~5/10 min inference time. <b>NSFW filter enabled.</b><br />Please use 512*512 square image as input to avoid memory error !"
54
- gr.Interface(fn=predict, inputs=[source_img, "text"], outputs=gallery, css=custom_css, title=title, description=description).launch(enable_queue=True)
 
51
  custom_css="style.css"
52
  title="InPainting Stable Diffusion CPU"
53
  description="Inpainting Stable Diffusion example using CPU and HF token. <br />Warning: Slow process... ~5/10 min inference time. <b>NSFW filter enabled.</b><br />Please use 512*512 square image as input to avoid memory error !"
54
+ gr.Interface(fn=predict, inputs=[source_img, "text"], outputs=gallery, css=custom_css, title=title, description=description, allow_flagging="manual").launch(enable_queue=True)