akhaliq HF Staff commited on
Commit
32cb323
·
verified ·
1 Parent(s): d82f24c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -242,12 +242,11 @@ if __name__ == "__main__":
242
  app.queue(
243
  status_update_rate="auto",
244
  api_open=False, # Disable public API access for security
245
- default_concurrency_limit=50 # Allow multiple concurrent requests
246
  )
247
  app.launch(
248
  show_api=False,
249
  enable_monitoring=False,
250
  quiet=True,
251
- max_threads=40, # Increase thread pool for better performance
252
  ssr_mode=True
253
  )
 
242
  app.queue(
243
  status_update_rate="auto",
244
  api_open=False, # Disable public API access for security
245
+ default_concurrency_limit=None # Allow multiple concurrent requests
246
  )
247
  app.launch(
248
  show_api=False,
249
  enable_monitoring=False,
250
  quiet=True,
 
251
  ssr_mode=True
252
  )