Haiss123 commited on
Commit
8d93ad0
·
verified ·
1 Parent(s): e8d460c

Update detection_api.py

Browse files
Files changed (1) hide show
  1. detection_api.py +1 -3
detection_api.py CHANGED
@@ -201,8 +201,6 @@ if __name__ == "__main__":
201
  import os
202
  port = int(os.environ.get("PORT", 7860))
203
  options = {
204
- "bind": f"0.0.0.0:{port}",
205
- "workers": 2,
206
- "worker_class": "uvicorn.workers.UvicornWorker",
207
  }
208
  StandaloneApplication(app, options).run()
 
201
  import os
202
  port = int(os.environ.get("PORT", 7860))
203
  options = {
204
+ "bind": f"0.0.0.0:{port}"
 
 
205
  }
206
  StandaloneApplication(app, options).run()