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