Merge pull request #338 from Superflows-AI/fix-proxy-railway-deploy

Fix proxy server railway deployment
This commit is contained in:
Krish Dholakia 2023-09-12 06:07:49 -07:00 committed by GitHub
commit c3ed7e2b29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ def get_models():
if __name__ == "__main__":
from waitress import serve
serve(app, host="0.0.0.0", port=5000, threads=500)
serve(app, host="0.0.0.0", port=os.environ.get("PORT", 5000), threads=500)
############### Advanced ##########################