From 73db20ba85fbbdc66a56e2619394c0eea40dc72b Mon Sep 17 00:00:00 2001 From: Richard Guo Date: Fri, 26 May 2023 12:43:06 -0400 Subject: [PATCH] hotfix default verbose optioin --- gpt4all-bindings/python/gpt4all/gpt4all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt4all-bindings/python/gpt4all/gpt4all.py b/gpt4all-bindings/python/gpt4all/gpt4all.py index fb5f709e..c485f2de 100644 --- a/gpt4all-bindings/python/gpt4all/gpt4all.py +++ b/gpt4all-bindings/python/gpt4all/gpt4all.py @@ -103,12 +103,12 @@ class GPT4All(): available_models = GPT4All.list_models() if model_filename not in (m["filename"] for m in available_models): raise ValueError(f"Model filename not in model list: {model_filename}") - return GPT4All.download_model(model_filename, model_path) + return GPT4All.download_model(model_filename, model_path, verbose = verbose) else: raise ValueError("Failed to retrieve model") @staticmethod - def download_model(model_filename: str, model_path: str, verbose: bool) -> str: + def download_model(model_filename: str, model_path: str, verbose: bool = True) -> str: """ Download model from https://gpt4all.io.