added queue limit set to 10
Browse files
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 |
|