Prathamesh1420
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -66,4 +66,6 @@ async def predict(
|
|
66 |
if __name__ == "__main__":
|
67 |
import uvicorn
|
68 |
|
69 |
-
|
|
|
|
|
|
66 |
if __name__ == "__main__":
|
67 |
import uvicorn
|
68 |
|
69 |
+
|
70 |
+
port = int(os.environ.get("PORT", 8000)) # Default to 8000 if PORT is not set
|
71 |
+
uvicorn.run(app, host="0.0.0.0", port=port)
|