From 1fa3a714b6e59898bb1dbe27290899d033685a1a Mon Sep 17 00:00:00 2001 From: sloganking Date: Thu, 16 Jan 2025 20:20:50 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8remove=20ellipses=20from=20transcripti?= =?UTF-8?q?ons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index ecbec12..0c3b2f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -217,6 +217,9 @@ fn main() -> Result<(), Box> { } } + // Remove ellipses. + transcription = transcription.replace("...", ""); + if transcription.is_empty() { println!("No transcription"); }