Spaces:
Running
Running
Commit
·
4905fb4
1
Parent(s):
883eb72
fix for #27
Browse files
app.py
CHANGED
@@ -65,10 +65,12 @@ def main():
|
|
65 |
]
|
66 |
|
67 |
# Launch the Gradio app
|
68 |
-
app.queue(default_concurrency_limit=
|
69 |
server_name="0.0.0.0",
|
70 |
allowed_paths=allowed_paths,
|
71 |
|
|
|
|
|
72 |
# for some reason this crashes Gradio
|
73 |
# I was expecting to see a login modal or something
|
74 |
# but instead this creates an infinite loop
|
|
|
65 |
]
|
66 |
|
67 |
# Launch the Gradio app
|
68 |
+
app.queue(default_concurrency_limit=10).launch(
|
69 |
server_name="0.0.0.0",
|
70 |
allowed_paths=allowed_paths,
|
71 |
|
72 |
+
max_threads=60,
|
73 |
+
|
74 |
# for some reason this crashes Gradio
|
75 |
# I was expecting to see a login modal or something
|
76 |
# but instead this creates an infinite loop
|