Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ cd test_mlx
|
|
| 8 |
git clone git@hf.co:mvp1024/mlx-app-pack mlx_app # 需要huggingface mvp1024 权限
|
| 9 |
conda create test_mlx python=3.10
|
| 10 |
conda activate test_mlx
|
| 11 |
-
pip install -r
|
| 12 |
```
|
| 13 |
需要修改 mlx_app 中的一些代码以避免网络请求:
|
| 14 |
- mlx_app/stable_diffusion/model_io.py: 将所有使用 hf_hub_download 的代码注释掉,改为使用 get_file_path; 修改 get_file_path 里的路径`return os.path.join("../models", key, val)`
|
|
|
|
| 8 |
git clone git@hf.co:mvp1024/mlx-app-pack mlx_app # 需要huggingface mvp1024 权限
|
| 9 |
conda create test_mlx python=3.10
|
| 10 |
conda activate test_mlx
|
| 11 |
+
pip install -r mlx_app/requirements.txt
|
| 12 |
```
|
| 13 |
需要修改 mlx_app 中的一些代码以避免网络请求:
|
| 14 |
- mlx_app/stable_diffusion/model_io.py: 将所有使用 hf_hub_download 的代码注释掉,改为使用 get_file_path; 修改 get_file_path 里的路径`return os.path.join("../models", key, val)`
|