Update detection_api.py
Browse files- detection_api.py +1 -1
detection_api.py
CHANGED
|
@@ -215,5 +215,5 @@ if __name__ == "__main__":
|
|
| 215 |
import uvicorn
|
| 216 |
import os
|
| 217 |
port = int(os.environ.get("PORT", 7860))
|
| 218 |
-
uvicorn.run("
|
| 219 |
|
|
|
|
| 215 |
import uvicorn
|
| 216 |
import os
|
| 217 |
port = int(os.environ.get("PORT", 7860))
|
| 218 |
+
uvicorn.run("detection_api:app", host="0.0.0.0", port=port, reload=False)
|
| 219 |
|