mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-22 21:48:23 +00:00
hotfix default verbose optioin
This commit is contained in:
parent
6ec3efa355
commit
9f62d4d05f
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user