dfvips / xunfeixinghuo

Implement AI intelligent dialogue with Iflytek Starfire cognitive model in Python for real-time questioning and answering. Python实现 讯飞星火API
MIT License
42 stars 10 forks source link

无法连续对话 #2

Closed beichen123-hub closed 1 year ago

beichen123-hub commented 1 year ago

代码报错 无法联系对话 image

dfvips commented 1 year ago

代码报错 无法联系对话 image

注意右下角,提示"module ‘websocket‘ has no attribute ‘enableTrace‘"的情况,参考https://blog.csdn.net/u014534808/article/details/113655577。建议搭配好websocket和client后,先单独测试text2audio.py,试试能否导出音频,再进行对话。

dfvips commented 1 year ago

"module ‘websocket‘ has no attribute ‘enableTrace‘"的提示,意思是websocket和websocket-client搭配不匹配,或者没有安装其中的另一个。