mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 17:29:01 +00:00
Get from env var
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
parent
f02f1332a1
commit
6312bc4aa4
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ def main():
|
|||
"--template",
|
||||
help="One of the template names in llama_stack/templates (e.g., tgi, fireworks, remote-vllm, etc.)",
|
||||
)
|
||||
parser.add_argument("--port", type=int, default=5000, help="Port to listen on")
|
||||
parser.add_argument("--port", type=int, default=int(os.getenv("PORT", 5000)), help="Port to listen on")
|
||||
parser.add_argument(
|
||||
"--disable-ipv6", action="store_true", help="Whether to disable IPv6 support"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue