录音/制作/创作 吉他 扩声技术 视频技术 作品展示 生活 信息 更多... | 音频应用专卖店
AI 制作

[新闻] 网易开源TTS朗读 - EmotiVoice

( 18 )
12
 
[收藏]
-  第 2 页  -

187
#16 23-12-10 14:37
IndexError: string index out of range
Traceback:
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\env\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\demo_page.py", line 209, in <module>
    new_line(0)
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\demo_page.py", line 202, in new_line
    text = g2p_cn(content)
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\demo_page.py", line 67, in g2p_cn
    return g2p(text)
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\frontend.py", line 90, in g2p
    py = [" ".join(split_py(_py)) for _py in py]
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\frontend.py", line 90, in <listcomp>
    py = [" ".join(split_py(_py)) for _py in py]
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice\frontend.py", line 26, in split_py
    if py[-1] == 'r':

2098
#17 23-12-11 12:43
一直用剪映

7
#18 23-12-20 18:18
小行星 发表于 23-12-10 14:37
IndexError: string index out of range
Traceback:
File "D:\EmotiVoice(2)\EmotiVoice-aiyy\EmotiVoice ...

可能文本中有它无法识别的字符。
比如外国名字中间那个点,就会报类似错误。
公开的DEMO,无法识别的字符不是跳过而是报错,这个处理方式也挺奇怪

76
#19 23-12-20 21:02
Original 发表于 23-12-9 16:52
有没有手机用的,读个小说即可

同问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

搜索