mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
Correct indentation of the multiline error message
This commit is contained in:
parent
5e61008424
commit
659244f0a2
@ -316,7 +316,7 @@ class GPT4All():
|
||||
elif model_name in MPT_MODELS:
|
||||
return pyllmodel.MPTModel()
|
||||
|
||||
err_msg = f"""No corresponding model for provided filename {model_name}.
|
||||
If this is a custom model, make sure to specify a valid model_type.
|
||||
"""
|
||||
err_msg = (f"No corresponding model for provided filename {model_name}.\n"
|
||||
f"If this is a custom model, make sure to specify a valid model_type.\n")
|
||||
|
||||
raise ValueError(err_msg)
|
||||
|
Loading…
Reference in New Issue
Block a user