From 1c5083873bb9f92cd6f82e91caebdc940c1eb1ab Mon Sep 17 00:00:00 2001 From: kevinrsx Date: Thu, 10 Oct 2024 14:32:03 -0600 Subject: [PATCH] Use llama.cpp directory path as the download path --- ggify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggify.py b/ggify.py index ef14179..1eab759 100644 --- a/ggify.py +++ b/ggify.py @@ -292,7 +292,7 @@ def main(): if args.llama_cpp_dir: os.environ["LLAMA_CPP_DIR"] = args.llama_cpp_dir repo = args.repo - dirname = os.path.join(".", "models", repo.replace("/", "__")) + dirname = os.path.join(get_llama_cpp_dir(), "models", repo.replace("/", "__")) download_repo(repo, dirname) types = set(re.split(r",\s*", args.types)) output_paths = list(