added flagging parameter set to manual
Browse files
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)
|