fffiloni commited on
Commit
e7d31a7
1 Parent(s): 93ed45a

added queue limit set to 10

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