Spaces:
Runtime error
Runtime error
Not process in parallel and limit queue length (#227)
Browse files- Stop processing in parallel and limit the queue length (37adae931bf4d8090cc7214b9d8561ccea5a4708)
Co-authored-by: hysts <hysts@users.noreply.huggingface.co>
app.py
CHANGED
@@ -305,6 +305,5 @@ with iface:
|
|
305 |
)
|
306 |
# <p>This demo is strictly for research demo purpose only. For commercial use please <a href="haoheliu@gmail.com">contact us</a>.</p>
|
307 |
|
308 |
-
iface.queue(
|
309 |
-
iface.launch(debug=True)
|
310 |
# iface.launch(debug=True, share=True)
|
|
|
305 |
)
|
306 |
# <p>This demo is strictly for research demo purpose only. For commercial use please <a href="haoheliu@gmail.com">contact us</a>.</p>
|
307 |
|
308 |
+
iface.queue(max_size=10).launch(debug=True)
|
|
|
309 |
# iface.launch(debug=True, share=True)
|