forked from phoenix-oss/llama-stack-mirror
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:
|
||||
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