Spaces:
Running
on
Zero
Running
on
Zero
Merge branch 'main' of github.com:FunAudioLLM/CosyVoice into main
Browse files
README.md
CHANGED
@@ -82,7 +82,7 @@ import torchaudio
|
|
82 |
cosyvoice = CosyVoice('speech_tts/CosyVoice-300M-SFT')
|
83 |
# sft usage
|
84 |
print(cosyvoice.list_avaliable_spks())
|
85 |
-
output = cosyvoice.inference_sft('
|
86 |
torchaudio.save('sft.wav', output['tts_speech'], 22050)
|
87 |
|
88 |
cosyvoice = CosyVoice('speech_tts/CosyVoice-300M')
|
|
|
82 |
cosyvoice = CosyVoice('speech_tts/CosyVoice-300M-SFT')
|
83 |
# sft usage
|
84 |
print(cosyvoice.list_avaliable_spks())
|
85 |
+
output = cosyvoice.inference_sft('你好,我是通义生成式语音大模型,请问有什么可以帮您的吗?', '中文女')
|
86 |
torchaudio.save('sft.wav', output['tts_speech'], 22050)
|
87 |
|
88 |
cosyvoice = CosyVoice('speech_tts/CosyVoice-300M')
|