mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 01:46:09 +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.
|
||||
"""
|
||||
model_path = Path(path_or_hf_repo)
|
||||
os.environ['MLX_USE_MODELSCOPE'] = 'False'
|
||||
|
||||
if not model_path.exists():
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user