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