Spaces:
Running
Running
Lohia, Aditya
commited on
Commit
·
570bfed
1
Parent(s):
d530b17
Update concurrency
Browse files
app.py
CHANGED
@@ -144,4 +144,4 @@ with gr.Blocks(css="style.css", theme=gr.themes.Default()) as demo:
|
|
144 |
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
-
demo.queue(max_size=int(os.getenv("QUEUE"))).launch()
|
|
|
144 |
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
+
demo.queue(max_size=int(os.getenv("QUEUE")), default_concurrency_limit=int(os.getenv("CONCURRENCY_LIMIT"))).launch()
|