mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-04 12:00:10 +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:
|
elif model_name in MPT_MODELS:
|
||||||
return pyllmodel.MPTModel()
|
return pyllmodel.MPTModel()
|
||||||
|
|
||||||
err_msg = f"""No corresponding model for provided filename {model_name}.
|
err_msg = (f"No corresponding model for provided filename {model_name}.\n"
|
||||||
If this is a custom model, make sure to specify a valid model_type.
|
f"If this is a custom model, make sure to specify a valid model_type.\n")
|
||||||
"""
|
|
||||||
raise ValueError(err_msg)
|
raise ValueError(err_msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user