feat: support download model from modelscope rather than git lfs

This commit is contained in:
sudowind
2025-06-26 22:41:16 +08:00
parent 0de6bad85c
commit 9d778b0b31
4 changed files with 51 additions and 4 deletions

View File

@@ -11,6 +11,16 @@ We recommend a python version = 3.10 and cuda version = 11.8. Then build environ
```shell
pip install -r requirements.txt
```
## Model Preparation
```shell
# for windows
download_model.bat
# for linux
bash download_model.sh
```
## Inference
```
python lite_avatar.py --data_dir /path/to/sample_data --audio_file /path/to/audio.wav --result_dir /path/to/result