Skip to content

fix(webui): client side clone voice transcript handling too strict - #693

Merged
0xShug0 merged 1 commit into
0xShug0:mainfrom
jasonchen31:dev-fix-zipvoice-webui
Sep 25, 2026
Merged

0xShug0 merged 1 commit into
0xShug0:mainfrom
jasonchen31:dev-fix-zipvoice-webui

Conversation

@jasonchen31

Copy link
Copy Markdown
Contributor

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_text is required for zero-shot cloning, Studio blocked the request before sending it and displayed:

ZipVoice (zh/en zero-shot cloning) requires a reference transcript. Choose a matching .txt file or enter the transcript.

The server already knows the selected voice library entry and injects its matching prompt_text into the model's reference_text option. 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 inject prompt_text as reference_text.

Files changed

  • webui/native/src/routes/+page.svelte
  • webui/native/dist/index.html

Validation

  • npm run check
  • npm run build
  • cmake --build build/zipvoice-cpu-release --target audiocpp_server --parallel 4

@0xShug0
0xShug0 merged commit 9882ae6 into 0xShug0:main Sep 25, 2026
6 checks passed
@0xShug0

0xShug0 commented Sep 25, 2026

Copy link
Copy Markdown
Owner

@jasonchen31 Merged. Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants