From 449183c8007c3bbb75f7dc690f7e6121a16b36aa Mon Sep 17 00:00:00 2001 From: Hawk Lee Date: Mon, 16 Feb 2026 10:43:00 +0800 Subject: [PATCH] fix: VoiceDesign uses UI design description with priority User's UI instruct (design description) takes priority. Emotion from upstream tags only used as fallback when design description is empty. --- aiia_qwen_nodes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aiia_qwen_nodes.py b/aiia_qwen_nodes.py index 2359d5c..11ad740 100644 --- a/aiia_qwen_nodes.py +++ b/aiia_qwen_nodes.py @@ -311,11 +311,14 @@ class AIIA_Qwen_TTS: **gen_kwargs ) elif m_type == "VoiceDesign": - print(f"[AIIA] Qwen3-TTS VoiceDesign: {final_instruct}") + # VoiceDesign: UI design description takes priority; emotion instruct as fallback + design_instruct = instruct.strip() if instruct else "" + vd_instruct = design_instruct if design_instruct else final_instruct + print(f"[AIIA] Qwen3-TTS VoiceDesign: {vd_instruct}") wavs, sr = model.generate_voice_design( text=text, language=lang_param, - instruct=final_instruct, # For Design, instruct IS the design + instruct=vd_instruct, **gen_kwargs ) else: # Base / Clone