Skip to content

Commit

Permalink
--show_sources
Browse files Browse the repository at this point in the history
is_default was the wrong parameter, changed it to is_flag.
  • Loading branch information
PromtEngineer committed Jun 15, 2023
1 parent 28095bd commit 1647470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_localGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def load_model(device_type, model_id, model_basename=None):
@click.option(
"--show_sources",
"-s",
is_default=True,
is_flag=True,
help="Show sources along with answers (Default is False)",
)
def main(device_type, show_sources):
Expand Down

0 comments on commit 1647470

Please sign in to comment.