Add a Path() wrapper at the earliest place

This commit is contained in:
Ashwin Bharambe 2024-08-03 21:25:48 -07:00
parent 803976df26
commit 750202ddd5

View file

@ -8,8 +8,8 @@ import os
from pathlib import Path 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"