thisisgini commited on
Commit
bca4cb8
·
verified ·
1 Parent(s): 558bda6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -75,6 +75,5 @@ def shutdown_event():
75
 
76
  if __name__ == "__main__":
77
  import uvicorn
78
- # We ignore the environment variable and force 7860
79
- # to ensure the Hugging Face Load Balancer always connects.
80
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
75
 
76
  if __name__ == "__main__":
77
  import uvicorn
78
+ # Hardcode to 7860 to guarantee the HF Load Balancer connects
 
79
  uvicorn.run(app, host="0.0.0.0", port=7860)