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