mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-28 15:08:37 +08:00
fix
This commit is contained in:
parent
d20181e692
commit
a84bb0589e
@ -169,7 +169,7 @@ def get_model_path(path_or_hf_repo: str, revision: Optional[str] = None) -> Path
|
||||
try:
|
||||
model_path = Path(
|
||||
snapshot_download(
|
||||
model_id=path_or_hf_repo,
|
||||
path_or_hf_repo,
|
||||
revision=revision,
|
||||
allow_patterns=[
|
||||
"*.json",
|
||||
|
Loading…
Reference in New Issue
Block a user