Instructions to use AXERA-TECH/CosyVoice2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AXERA-TECH/CosyVoice2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="AXERA-TECH/CosyVoice2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AXERA-TECH/CosyVoice2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
lihongjie commited on
Commit ·
35bd210
1
Parent(s): 960e081
update
Browse files
README.md
CHANGED
|
@@ -137,6 +137,7 @@ modelscope download --model pengzhendong/wetext --local_dir pengzhendong/wetext
|
|
| 137 |
```
|
| 138 |
|
| 139 |
##### (2). Process Prompt Speech
|
|
|
|
| 140 |
```
|
| 141 |
python scripts/process_prompt.py --prompt_text asset/zh_man1.txt --prompt_speech asset/zh_man1.mp3 --output zh_man1
|
| 142 |
```
|
|
|
|
| 137 |
```
|
| 138 |
|
| 139 |
##### (2). Process Prompt Speech
|
| 140 |
+
Example:
|
| 141 |
```
|
| 142 |
python scripts/process_prompt.py --prompt_text asset/zh_man1.txt --prompt_speech asset/zh_man1.mp3 --output zh_man1
|
| 143 |
```
|