Ensure identified speaker names/roles are printed in ALL CAPS
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user