-
Notifications
You must be signed in to change notification settings - Fork 59.4k
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
[Feature Request] tts语音播放增加缓存功能 #5631
Comments
Title: [Feature Request] tts voice playback adds caching function 🥰 Description of requirementsCurrently every click on the play button sends a request to get the audio, even for the exact same content Is it possible to add a cache function so that the same content can be directly accessed from the cache? 🧐 SolutionHash the reading content, speech speed, speech model, etc. and store them in localStorage 📝 Supplementary informationNo response |
1 similar comment
|
1 similar comment
|
🥰 需求描述
当前每次点击播放按钮都会发送一个请求获取音频,即使是完全相同的内容
可不可以增加一个缓存功能,相同的内容直接调取缓存?
🧐 解决方案
对朗读内容、语音速度、语音模型等进行哈希,储存在localStorage中
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: