Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,6 +75,5 @@ def shutdown_event():
|
|
| 75 |
|
| 76 |
if __name__ == "__main__":
|
| 77 |
import uvicorn
|
| 78 |
-
#
|
| 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)
|