diff --git a/verbanote/process.py b/verbanote/process.py index fa045a4..eb36eee 100644 --- a/verbanote/process.py +++ b/verbanote/process.py @@ -72,10 +72,11 @@ def output_txt(diarized_groups: list, transcription_path: Path) -> TxtTranscript if captions: speaker = g[0].split()[-1] - + + txt.append(f"[{speaker}] ") for c in captions: - txt.append(f"[{speaker}] {c['text']}\n") - txt.append("\n") + txt.append(f"{c['text']}") + txt.append("\n\n") output = "".join(txt) fname = Path.joinpath(transcription_path, "transcription_result.txt")