mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 09:56:24 +08:00
update
This commit is contained in:
parent
5303c2bafd
commit
c781df114a
@ -165,7 +165,6 @@ def get_model_path(path_or_hf_repo: str, revision: Optional[str] = None) -> Path
|
|||||||
Path: The path to the model.
|
Path: The path to the model.
|
||||||
"""
|
"""
|
||||||
model_path = Path(path_or_hf_repo)
|
model_path = Path(path_or_hf_repo)
|
||||||
os.environ['MLX_USE_MODELSCOPE'] = 'False'
|
|
||||||
|
|
||||||
if not model_path.exists():
|
if not model_path.exists():
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user