Ensure identified speaker names/roles are printed in ALL CAPS
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-16 16:02:55 +00:00
parent 8ff473f3e6
commit 604bfa3f41
+1 -1
View File
@@ -358,7 +358,7 @@ def process_transcription_task(
re.IGNORECASE,
):
spk = f"SPEAKER {m.group(1).strip()}"
name = m.group(2).strip().rstrip(".")
name = m.group(2).strip().rstrip(".").upper()
if name:
speaker_map[spk] = name