devankit commited on
Commit
9df9ed8
·
verified ·
1 Parent(s): b7d7250

Update backend/main.py

Browse files
Files changed (1) hide show
  1. backend/main.py +1 -1
backend/main.py CHANGED
@@ -219,6 +219,6 @@ async def health_check():
219
  return {"status": "healthy", "message": "AI Wallpaper Generator API is running"}
220
 
221
  if __name__ == "__main__":
222
- port = int(os.getenv("PORT", 8000))
223
  print("Starting AI Wallpaper Generator API...")
224
  uvicorn.run(app, host="0.0.0.0", port=port)
 
219
  return {"status": "healthy", "message": "AI Wallpaper Generator API is running"}
220
 
221
  if __name__ == "__main__":
222
+ port = int(os.getenv("PORT", 7860))
223
  print("Starting AI Wallpaper Generator API...")
224
  uvicorn.run(app, host="0.0.0.0", port=port)