mirror of
https://github.com/1038lab/ComfyUI-QwenTTS.git
synced 2026-11-04 23:37:45 +00:00
[GH-ISSUE #23] Bug: Create Voice does not recompute when audio input changes (text unchanged) — likely broken IS_CHANGED; also always overwrites output file with no versioning #21
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
1038lab/ComfyUI-QwenTTS#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cdshaw on GitHub (Jul 24, 2026).
Original GitHub issue: https://github.com/1038lab/ComfyUI-QwenTTS/issues/23
Bug: Create Voice does not recompute when audio input changes (text unchanged) — likely broken IS_CHANGED; also always overwrites output file with no versioning
Bug 1: Stale caching when audio changes but text stays the same
Observed behavior: Swapping the
audioinput to a new reference clip while leavingtextunchanged does not trigger recomputation — the node appears to reuse a cached result instead of processing the new audio.Likely root cause: every run of this node (regardless of inputs) logs:
IS_CHANGED()is what ComfyUI calls to decide whether a node's inputs have changed and it needs to recompute vs. reuse a cached output. If this method is throwing due to a signature mismatch with ComfyUI's current calling convention, it would explain why input changes aren't being detected — the node may be silently falling back to "unchanged" on every run.Steps to reproduce:
audio= clip A,text= "some transcript".audioto a different clip B, leavetextidentical.Expected behavior: Any change to
audio(or any other input) should trigger a full recompute, matching theIS_CHANGEDwarning shown in the console — that warning itself suggests the detection logic needs fixing to match ComfyUI's current API signature.Bug 2: Output .pt file is always overwritten, no versioning
Observed behavior: Running Create Voice multiple times with the same
namevalue silently overwrites the previous.ptfile atComfyUI/output/qwen3-tts_voices/<name>.pt— no warning, no auto-incrementing filename, no versioned copy kept.Expected behavior: Either:
Josie.pt→Josie_2.pt), similar to how ComfyUI's built-in image/audio save nodes avoid collisions, or.ptfile is about to be overwritten, so it's not silent.Workaround in use: manually varying the
namefield (e.g. appending a date or version number) before each save.Environment
git cloneinto a Stability Matrix–managed ComfyUI instanceRelated
This is a follow-up to a previously filed issue on this repo regarding
save_pathsilently failing to save when pointed at a non-existent subfolder.