caohy666 commited on
Commit
3fa4852
·
1 Parent(s): 0e76ca0

<fix> app using only one thread.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -317,4 +317,4 @@ def create_app():
317
 
318
  if __name__ == "__main__":
319
  init_basemodel()
320
- create_app().launch(debug=True, ssr_mode=False)
 
317
 
318
  if __name__ == "__main__":
319
  init_basemodel()
320
+ create_app().launch(debug=True, ssr_mode=False, max_threads=1)