Commit 2ef4fc12 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: strip transcription text

parent 98496a70
...@@ -69,7 +69,7 @@ def transcribe( ...@@ -69,7 +69,7 @@ def transcribe(
transcript = "".join([segment.text for segment in list(segments)]) transcript = "".join([segment.text for segment in list(segments)])
return {"text": transcript} return {"text": transcript.strip()}
except Exception as e: except Exception as e:
print(e) print(e)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment