CosyVoice commited on
Commit
78da49b
1 Parent(s): d753fc5

modify readme

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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')