mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 19:04:19 +00:00
Replace colon in path so it doesn't cause issue on Windows
This commit is contained in:
parent
0a3b3d5fb6
commit
285cd26fb2
1 changed files with 2 additions and 1 deletions
|
@ -10,4 +10,5 @@ from .config_dirs import DEFAULT_CHECKPOINT_DIR
|
||||||
|
|
||||||
|
|
||||||
def model_local_dir(descriptor: str) -> str:
|
def model_local_dir(descriptor: str) -> str:
|
||||||
return os.path.join(DEFAULT_CHECKPOINT_DIR, descriptor)
|
path = os.path.join(DEFAULT_CHECKPOINT_DIR, descriptor)
|
||||||
|
return path.replace(":", "-")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue