We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea3193 commit 3129a0eCopy full SHA for 3129a0e
llama_cpp/server/__main__.py
@@ -46,5 +46,5 @@
46
app = create_app(settings=settings)
47
48
uvicorn.run(
49
- app, host=settings.host, port=settings.port
+ app, host=os.getenv("HOST", settings.host), port=int(os.getenv("PORT", settings.port))
50
)
0 commit comments