EmotiVoice icon indicating copy to clipboard operation
EmotiVoice copied to clipboard

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

Open lucasjinreal opened this issue 1 year ago • 8 comments

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 avatar Nov 13 '23 11:11 lucasjinreal

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

lucasjinreal avatar Nov 13 '23 11:11 lucasjinreal

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

syq163 avatar Nov 14 '23 01:11 syq163

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

lucasjinreal avatar Nov 14 '23 02:11 lucasjinreal

The issue has been resolved. Please update to confirm.

syq163 avatar Nov 17 '23 03:11 syq163

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?

syq163 avatar Nov 17 '23 03:11 syq163

Mostly users are using 4.35.0

lucasjinreal avatar Nov 17 '23 04:11 lucasjinreal

Mostly users are using 4.35.0

@huaxuanW Can you take a look at this issue?

syq163 avatar Nov 17 '23 05:11 syq163

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

syq163 avatar Dec 08 '23 01:12 syq163