feat: support [tag]: syntax in tagged_speakers mode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 09:21:27 +02:00
parent 33b3d62d02
commit d5f2632c48
+1 -1
View File
@@ -4,7 +4,7 @@ import os
import torch
import soundfile as sf
_TAG_RE = re.compile(r'^\[([^\]]+)\]\s*(.*)', re.DOTALL)
_TAG_RE = re.compile(r'^\[([^\]]+)\]:?\s*(.*)', re.DOTALL)
def _write_tmp_wav(ref_audio):