Skip to content

Commit

Permalink
Fix server_name
Browse files Browse the repository at this point in the history
  • Loading branch information
tloen committed Mar 30, 2023
1 parent 4367a43 commit 46f5877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main(
base_model: str = "",
lora_weights: str = "tloen/alpaca-lora-7b",
prompt_template: str = "", # The prompt template to use, will default to alpaca.
server_name: str = "127.0.0.1", # Allows to listen on all interfaces by providing '0.0.0.0'
server_name: str = "0.0.0.0", # Allows to listen on all interfaces by providing '0.
share_gradio: bool = False,
):
base_model = base_model or os.environ.get("BASE_MODEL", "")
Expand Down

0 comments on commit 46f5877

Please sign in to comment.