From 750202ddd5bec885f235614ad5ca6e3e2086bedc Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Sat, 3 Aug 2024 21:25:48 -0700 Subject: [PATCH] Add a Path() wrapper at the earliest place --- llama_toolchain/common/config_dirs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llama_toolchain/common/config_dirs.py b/llama_toolchain/common/config_dirs.py index 8be45b047..e625234ab 100644 --- a/llama_toolchain/common/config_dirs.py +++ b/llama_toolchain/common/config_dirs.py @@ -8,8 +8,8 @@ import os from pathlib import Path -LLAMA_STACK_CONFIG_DIR = os.path.expanduser("~/.llama/") +LLAMA_STACK_CONFIG_DIR = Path(os.path.expanduser("~/.llama/")) -DISTRIBS_BASE_DIR = Path(LLAMA_STACK_CONFIG_DIR) / "distributions" +DISTRIBS_BASE_DIR = LLAMA_STACK_CONFIG_DIR / "distributions" -DEFAULT_CHECKPOINT_DIR = Path(LLAMA_STACK_CONFIG_DIR) / "checkpoints" +DEFAULT_CHECKPOINT_DIR = LLAMA_STACK_CONFIG_DIR / "checkpoints"