mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 18:17:07 +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:
|
try:
|
||||||
model_path = Path(
|
model_path = Path(
|
||||||
snapshot_download(
|
snapshot_download(
|
||||||
model_id=path_or_hf_repo,
|
path_or_hf_repo,
|
||||||
revision=revision,
|
revision=revision,
|
||||||
allow_patterns=[
|
allow_patterns=[
|
||||||
"*.json",
|
"*.json",
|
||||||
|
Loading…
Reference in New Issue
Block a user