jbilcke-hf HF Staff commited on
Commit
4905fb4
·
1 Parent(s): 883eb72

fix for #27

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -65,10 +65,12 @@ def main():
65
  ]
66
 
67
  # Launch the Gradio app
68
- app.queue(default_concurrency_limit=2).launch(
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