This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Break up a long recording to fit within the Whisper API's limits, with some | |
overlap, so no words are missed, and then feed to OpenAI Whisper API to | |
transcribe it to .txt file. Written by endolith and ChatGPT-4. | |
""" | |
import openai | |
import math | |
import os | |
import subprocess |