From 164747066b8c79f1cb57fdd7eb06831a89a27022 Mon Sep 17 00:00:00 2001 From: PromptEngineer <134474669+PromtEngineer@users.noreply.github.com> Date: Wed, 14 Jun 2023 23:54:57 -0700 Subject: [PATCH] --show_sources is_default was the wrong parameter, changed it to is_flag. --- run_localGPT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_localGPT.py b/run_localGPT.py index e7a5dc33..e4f9f020 100644 --- a/run_localGPT.py +++ b/run_localGPT.py @@ -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):