mirror of
https://www.modelscope.cn/speech_tts/speech_sambert-hifigan_tts_chuangirl_Sichuan_16k.git
synced 2026-04-02 18:42:52 +08:00
fix
This commit is contained in:
@ -102,7 +102,7 @@ from modelscope.pipelines import pipeline
|
||||
from modelscope.utils.constant import Tasks
|
||||
|
||||
text = '待合成文本'
|
||||
model_id = 'damo/speech_sambert-hifigan_tts_chuangirl_Sichuan_16k'
|
||||
model_id = 'speech_tts/speech_sambert-hifigan_tts_chuangirl_Sichuan_16k'
|
||||
sambert_hifigan_tts = pipeline(task=Tasks.text_to_speech, model=model_id)
|
||||
output = sambert_hifigan_tts(input=text)
|
||||
wav = output[OutputKeys.OUTPUT_WAV]
|
||||
|
||||
Reference in New Issue
Block a user