"src/tl_templates/vscode:/vscode.git/clone" did not exist on "d99853b665fcab6690ae6ee1fd34e5feb3246657"
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