Skip to content

Commit

Permalink
✨remove ellipses from transcriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sloganking committed Jan 17, 2025
1 parent da56593 commit 1fa3a71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ fn main() -> Result<(), Box<dyn Error>> {
}
}

// Remove ellipses.
transcription = transcription.replace("...", "");

if transcription.is_empty() {
println!("No transcription");
}
Expand Down

0 comments on commit 1fa3a71

Please sign in to comment.