Update detection_api.py
Browse files- 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()
|