use abspath to model

This commit is contained in:
Michael Yang 2023-06-28 14:25:07 -07:00
parent 99ad4d0c9c
commit 9154298085

View file

@ -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():