Spaces:
Running
Running
tomas-gajarsky
commited on
Commit
·
b0d857a
1
Parent(s):
65a4898
Move concurrency_limit setting from queue to Interface
Browse files
app.py
CHANGED
@@ -79,6 +79,7 @@ demo=gr.Interface(
|
|
79 |
description=description,
|
80 |
article=article,
|
81 |
examples=[["./test5.jpg"], ["./test.jpg"], ["./test4.jpg"], ["./test8.jpg"], ["./test6.jpg"], ["./test3.jpg"], ["./test10.jpg"]],
|
|
|
82 |
)
|
83 |
-
demo.queue(
|
84 |
demo.launch(server_name="0.0.0.0", server_port=7860, debug=True)
|
|
|
79 |
description=description,
|
80 |
article=article,
|
81 |
examples=[["./test5.jpg"], ["./test.jpg"], ["./test4.jpg"], ["./test8.jpg"], ["./test6.jpg"], ["./test3.jpg"], ["./test10.jpg"]],
|
82 |
+
concurrency_limit=10,
|
83 |
)
|
84 |
+
demo.queue(api_open=True)
|
85 |
demo.launch(server_name="0.0.0.0", server_port=7860, debug=True)
|