Skip to content

[Feature] Display loading animation when playing reply #3001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
q629988171 opened this issue Apr 25, 2025 · 3 comments
Open

[Feature] Display loading animation when playing reply #3001

q629988171 opened this issue Apr 25, 2025 · 3 comments
Assignees

Comments

@q629988171
Copy link

MaxKB Version

v1.10.6-lts

Please describe your needs or suggestions for improvements

TTS的首tokens时延在1.92秒,播放按钮这段时间没有变化意味着从用户点击播放按钮到系统生成并开始播放第一个语音片段之间,会有大约1.92秒的延迟。在这段时间内,用户界面中的播放按钮不会发生任何状态变化,例如没有加载动画、进度条更新或其他视觉反馈。这种缺乏实时反馈的情况可能会让用户误以为系统没有响应,从而一直点击播放按钮。

Please describe the solution you suggest

等待的时候展示加载动画

Additional Information

语音播放: TTS模型->阿里语音合成(cosyvoice-v1)
内容大小: 423个字

@shaohuzhang1 shaohuzhang1 changed the title [Feature] 播放回复的时候展示加载动画 [Feature] Display loading animation when playing reply Apr 25, 2025
@shaohuzhang1
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


MaxKB Version

v1.10.6-lts

Please describe your needs or suggestions for improvements

The first tokens delay of TTS is 1.92 seconds. The play button has not changed during this period. This means that there will be a delay of about 1.92 seconds between the user clicking the play button and the system generates and starts playing the first voice clip. During this time, there will be no state changes in the play button in the user interface, such as no animation loading, progress bar updates, or other visual feedback. This lack of real-time feedback may cause users to mistakenly think that the system is not responding and keep clicking on the play button.

Please describe the solution you suggest

Show loading animation while waiting

Additional Information

Voice playback: TTS model->Ali voice synthesis (cosyvoice-v1)
Content size: 423 words

@baixin513
Copy link
Contributor

感谢反馈,后续版本考虑优化

@shaohuzhang1
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thanks for the feedback, and the subsequent version is considered for optimization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants