From bde024e4c0c1d117fee66566fa7b1bb47bb9ef27 Mon Sep 17 00:00:00 2001 From: Jaikinator Date: Fri, 25 Aug 2023 13:39:58 +0200 Subject: [PATCH] added \t to str --- autotranscript/transcript_exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotranscript/transcript_exporter.py b/autotranscript/transcript_exporter.py index 9262be6..c6bfa5c 100644 --- a/autotranscript/transcript_exporter.py +++ b/autotranscript/transcript_exporter.py @@ -99,7 +99,7 @@ class Transcript: sseg = time.strftime("%H:%M:%S",time.gmtime(segm[0])) eseg = time.strftime("%H:%M:%S",time.gmtime(segm[1])) - fstring += f"{speaker} ({sseg} ; {eseg}): {seq['text']}\n" + fstring += f"{speaker} ({sseg} ; {eseg}):\t{seq['text']}\n" return fstring def __repr__(self) -> str: @@ -128,7 +128,7 @@ class Transcript: :rtype: str """ if "indent" not in kwargs: - kwargs["indent"] = 4 + kwargs["indent"] = 3 return json.dumps(self.transcript, *args, **kwargs) def get_html(self) -> str: