mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-01 07:42:40 +00:00
python: this was supposed to be an f-string
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
059afb8ee8
commit
6da62a62f0
@ -175,7 +175,7 @@ class LLModel:
|
||||
model = llmodel.llmodel_model_create2(self.model_path, b"auto", ctypes.byref(err))
|
||||
if model is None:
|
||||
s = err.value
|
||||
raise ValueError("Unable to instantiate model: {'null' if s is None else s.decode()}")
|
||||
raise ValueError(f"Unable to instantiate model: {'null' if s is None else s.decode()}")
|
||||
self.model = model
|
||||
|
||||
def __del__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user