EmotiVoice
EmotiVoice copied to clipboard
forntend_cn.py的split_py函数处理英文报错
比如有这样一句中文:
你好,我是E小通,请问有什么我可以帮助你的?
中间夹杂了一个英文"E"
用forntend_cn.py来处理时:
def split_py(py):
tone = py[-1]
py = py[:-1]
sm = ""
ym = ""
传入单个字符‘E’, py越界,报错
You can attempt again with the most recent code or explore the latest Docker image.
the latest docker image can't run, because the forntend_en.py can't load, as nltk_data not exists
OK, which platform are you using?
I updated the Docker image 10 minutes ago. You can update it by running docker pull syq163/emoti-voice:latest
, then rerun it using docker run -dp 127.0.0.1:8501:8501 syq163/emoti-voice:latest
.