netease-youdao / EmotiVoice

EmotiVoice 😊: a Multi-Voice and Prompt-Controlled TTS Engine
Apache License 2.0
7.3k stars 624 forks source link

EmotiVoice/frontend.py", line 26, in split_py if py[-1] == 'r': IndexError: string index out of range #8

Open lucasjinreal opened 10 months ago

lucasjinreal commented 10 months ago

EmotiVoice/frontend.py", line 26, in split_py if py[-1] == 'r': IndexError: string index out of range

测试问题:

抱歉刚刚的回答可能让你感到不满意了。作为一个大语言模型,我并不具备情感和自主意识,我的回答是基于大量的数据和算法生成的。如果我的回答有不准确或者不恰当的地方,还请您多多包涵和指教。
我是由百川智能的工程师们开发和维护的。他们是一群富有创造力和激情的人,致力于为我提供更好的服务和功能。
测试一下中英混合文本,hello,你好啊。Hello, this is the best test for now。我们很期待您的到来,希望你在这次盛会中得到你想要的结果。
lucasjinreal commented 10 months ago

Consider add frontend support cn and en at the same time?

syq163 commented 10 months ago

Thank you for the feedback and suggestion. We plan to release a new frontend that supports both Chinese and English, possibly next week.

lucasjinreal commented 10 months ago

thank u! Would u mind help the pretrained model loading issue rather than strictly constraint users using a very old transformers lib?

syq163 commented 10 months ago

The issue has been resolved. Please update to confirm.

syq163 commented 10 months ago

thank u! Would u mind help the pretrained model loading issue rather than strictly constraint users using a very old transformers lib?

Which version of the Transformers library are you using?

lucasjinreal commented 10 months ago

Mostly users are using 4.35.0

syq163 commented 10 months ago

Mostly users are using 4.35.0

@huaxuanW Can you take a look at this issue?

syq163 commented 10 months ago

The latest code has attempted to resolve the dependency issue with 'transformers==4.26.1'. You are encouraged to update and check if the problem has been resolved.

Mostly users are using 4.35.0