志浩 commited on
Commit
d753fc5
1 Parent(s): e3a2edf

update README.md

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')