fix: role detection regex excludes sentence punctuation (v1.15.3)
This commit is contained in:
@@ -266,7 +266,7 @@ class AIIA_VibeVoice_TTS:
|
||||
import re
|
||||
lines = text.split('\n')
|
||||
# Match "Role Name:" at start of line (limit to 30 chars to avoid long sentences)
|
||||
role_pattern = re.compile(r'^([^\n:]{1,30})[:\uff1a]\s+')
|
||||
role_pattern = re.compile(r'^([^\n::。,、;!?.,;!?`\'\"]{1,15})[:\uff1a]\s+')
|
||||
# Already in [N] format
|
||||
bracket_pattern = re.compile(r'^\[\d+\]\s*[:\uff1a]')
|
||||
# Legacy Speaker N: format
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "aiia"
|
||||
description = "Advanced AI Audio/Video toolkit for ComfyUI. Features Multi-Role Podcast/Dialogue Generation, High-Fidelity Voice Cloning (CosyVoice/VibeVoice/IndexTTS-2), TTS, Media Management, and efficient Video tools."
|
||||
version = "1.15.2"
|
||||
version = "1.15.3"
|
||||
license = {file = "LICENSE"}
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
|
||||
Reference in New Issue
Block a user