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
Update README.md
Browse files
README.md
CHANGED
|
@@ -144,7 +144,7 @@ python3 scripts/process_prompt.py --prompt_text asset/zh_man1.txt --prompt_spee
|
|
| 144 |
|
| 145 |
Pass parameters according to the actual situation.
|
| 146 |
```
|
| 147 |
-
|
| 148 |
|
| 149 |
usage: process_prompt.py [-h] [--model_dir MODEL_DIR] [--wetext_dir WETEXT_DIR] [--sample_rate SAMPLE_RATE] [--prompt_text PROMPT_TEXT] [--prompt_speech PROMPT_SPEECH]
|
| 150 |
[--output OUTPUT]
|
|
|
|
| 144 |
|
| 145 |
Pass parameters according to the actual situation.
|
| 146 |
```
|
| 147 |
+
python3 scripts/process_prompt.py -h
|
| 148 |
|
| 149 |
usage: process_prompt.py [-h] [--model_dir MODEL_DIR] [--wetext_dir WETEXT_DIR] [--sample_rate SAMPLE_RATE] [--prompt_text PROMPT_TEXT] [--prompt_speech PROMPT_SPEECH]
|
| 150 |
[--output OUTPUT]
|