Repository navigation
fix(webui): client side clone voice transcript handling too strict - #693
Merged
Merged
Conversation
Owner
|
@jasonchen31 Merged. Thanks! |
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.
Fix provisioned clone-voice transcript handling in the WebUI
Summary
Fix the WebUI error that appears when a provisioned clone voice is selected for ZipVoice.
Bug
Selecting a provisioned clone voice left the reference transcript empty. Because
reference_textis required for zero-shot cloning, Studio blocked the request before sending it and displayed:The server already knows the selected voice library entry and injects its matching
prompt_textinto the model'sreference_textoption. The WebUI validation prevented that server-side path from being used.Fix
Update the Studio validation so selecting a quick-start or built-in voice does not require a manually entered reference transcript. Uploaded reference-audio flows still require a matching transcript. The WebUI sends the selected
voice, allowing the server to resolve the reference audio and injectprompt_textasreference_text.Files changed
webui/native/src/routes/+page.sveltewebui/native/dist/index.htmlValidation
npm run checknpm run buildcmake --build build/zipvoice-cpu-release --target audiocpp_server --parallel 4