use abspath to model
This commit is contained in:
parent
99ad4d0c9c
commit
9154298085
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ def load(model, models_home=".", llms={}):
|
|||
|
||||
if not model_path:
|
||||
# try loading this as a path to a model, rather than a model name
|
||||
model_path = model
|
||||
model_path = os.path.abspath(model)
|
||||
|
||||
# suppress LLM's output
|
||||
with suppress_stderr():
|
||||
|
|
Loading…
Add table
Reference in a new issue