fffiloni commited on
Commit
ef59f02
1 Parent(s): c4bb4d9

added flagging parameter set to manual

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,4 +55,4 @@ print("Great sylvain ! Everything is working fine !")
55
  title="Img2Img Stable Diffusion CPU"
56
  description="Img2Img Stable Diffusion example using CPU and HF token. <br />Warning: Slow process... ~5/10 min inference time. <b>NSFW filter enabled.</b>"
57
 
58
- gr.Interface(fn=infer, inputs=[source_img, "text"], outputs=gallery,title=title,description=description).queue(max_size=100).launch(enable_queue=True)
 
55
  title="Img2Img Stable Diffusion CPU"
56
  description="Img2Img Stable Diffusion example using CPU and HF token. <br />Warning: Slow process... ~5/10 min inference time. <b>NSFW filter enabled.</b>"
57
 
58
+ gr.Interface(fn=infer, inputs=[source_img, "text"], outputs=gallery,title=title,description=description).queue(max_size=100, allow_flagging="manual").launch(enable_queue=True)