Repository navigation
修复内置语音引擎首次启动时的模型下载 - #866
Draft
Plastic-time wants to merge 3 commits into
Draft
Plastic-time wants to merge 3 commits into
Plastic-time wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
依赖 #861。
问题
内置语音引擎首次启动时自行下载默认模型。下载遇到限流或尚未完成时,MeguLit 可能先报启动超时。
改动
空语音配置先用同一个下载器预备并校验两个默认模型。等待有统一的时间上限,失败仍交给原引擎处理。保留已有模型,取消后停止本次启动。
Windows 上使用真实内置引擎 1.2.0,从空语音目录启动。两个模型分别只申请一次链接,引擎启动后提供 2 个话者和 10 种声音样式,未再次请求默认模型。首启回归用例由 2/10 通过变为 10/10。
node --test跑过首启、语音模型和共用下载器的 29 项用例。Build.ps1 -TestsOnly共 3,481 项,3,289 通过、162 跳过。30 项失败与同机主线一致。Refs #777