Skip to content

Commit

Permalink
adding post processing
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-roethig-db committed May 26, 2024
1 parent 3788d94 commit a783f1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amondin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def transcribe(
language=language,
device=device
)

for i, segment in enumerate(segments):
del segment["audio"]
segment["text"] = transcript[i]
Expand Down

0 comments on commit a783f1b

Please sign in to comment.