Spaces:
Runtime error
Runtime error
guardiancc
commited on
Commit
•
57d2d93
1
Parent(s):
6c1b85a
Removing max_size on queue and add concurrency limit to 2
Browse filesThis implementation brings about the removal of the queue limiter and competition for up to two generations at the same time (I believe the machine can handle it - NOT SURE OF THAT)
app.py
CHANGED
@@ -111,5 +111,5 @@ with gr.Blocks() as demo:
|
|
111 |
cache_examples=true_for_shared_ui
|
112 |
)
|
113 |
|
114 |
-
demo.queue(max_size=
|
115 |
demo.launch(share=True)
|
|
|
111 |
cache_examples=true_for_shared_ui
|
112 |
)
|
113 |
|
114 |
+
demo.queue(max_size=None, concurrency_limit=2)
|
115 |
demo.launch(share=True)
|