yihong0618 / MiService

XiaoMi Cloud Service for mi.com
MIT License
343 stars 89 forks source link

语音不连贯 #13

Closed cuizheng0520 closed 8 months ago

cuizheng0520 commented 11 months ago

同样的是L05C,配置上了以后 觉得gpt返回的消息很快,但是小爱读的语句很慢,如果有逗号或者句号 简短差不多能有2-3秒,体验不太好.

这个问题可以解决吗?

谢谢了

yihong0618 commented 11 months ago

可以使用 —stream

cuizheng0520 commented 11 months ago

是使用了stream 呀 ,就是遇到逗号或者句号的时候 间隔了好久,是我哪里设置不对吗? 间隔可能最长有3-4秒了

yihong @.***>于2023年10月20日 周五23:05写道:

可以使用 —stream

— Reply to this email directly, view it on GitHub https://github.com/yihong0618/MiService/issues/13#issuecomment-1772914454, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6WQJXK732BQY63LUW7UBW3YAKHKDAVCNFSM6AAAAAA6JEODQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSHEYTINBVGQ . You are receiving this because you authored the thread.Message ID: @.***>

cuizheng0520 commented 11 months ago

等等,我没在启动的时候加这个参数,我加上试试 谢谢大佬

yihong @.***>于2023年10月20日 周五23:05写道:

可以使用 —stream

— Reply to this email directly, view it on GitHub https://github.com/yihong0618/MiService/issues/13#issuecomment-1772914454, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6WQJXK732BQY63LUW7UBW3YAKHKDAVCNFSM6AAAAAA6JEODQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSHEYTINBVGQ . You are receiving this because you authored the thread.Message ID: @.***>

yihong0618 commented 11 months ago

—edge-tts —stream 加上这俩试试

cuizheng0520 commented 11 months ago

—edge-tts —stream 加上这俩试试

还是不太行

比如:一个由OpenAI开发的人工智能语言模型。我可以回答问题,提供信息和进行对话。有什么我可以帮助你的吗?

好奇怪,是因为程序没有获取到锁?

while True: success = lock.acquire(blocking=False) if success: # 如果成功获取锁 try: this_sentence = self.chatbot.sentence # 获取句子(目前的)

和这个和小米音响的设备有关系吗

yihong0618 commented 11 months ago

是,xiaogpt readme 里的不支持的型号无法使用一些功能

yihong0618 commented 11 months ago

—edge-tts —stream 加上这俩试试

还是不太行

比如:一个由OpenAI开发的人工智能语言模型。我可以回答问题,提供信息和进行对话。有什么我可以帮助你的吗?

好奇怪,是因为程序没有获取到锁?

while True: success = lock.acquire(blocking=False) if success: # 如果成功获取锁 try: this_sentence = self.chatbot.sentence # 获取句子(目前的)

和这个和小米音响的设备有关系吗

这个问题我们看看

cuizheng0520 commented 11 months ago

—edge-tts —stream 加上这俩试试

还是不太行 比如:一个由OpenAI开发的人工智能语言模型。我可以回答问题,提供信息和进行对话。有什么我可以帮助你的吗? 好奇怪,是因为程序没有获取到锁? while True: success = lock.acquire(blocking=False) if success: # 如果成功获取锁 try: this_sentence = self.chatbot.sentence # 获取句子(目前的) 和这个和小米音响的设备有关系吗

这个问题我们看看

谢谢大神,我是小白,但是对这个项目很感兴趣,感觉很好玩

我准备买一个你的视频用的 lx06 再试试,看看会不会好一点

yihong0618 commented 8 months ago

关了哈