Open buttercat1791 opened 1 year ago
Didn't see any documentation about what specific file formats it takes, but from looking at the Examples in their ReadMe, it definitely takes MP3 files.
Do you want to be handed a filepath or the file contents by the file reader? Not sure whether passing the contents is slow, python may or may not be smart about it
It looks like Whisper just wants a filepath.
I'll create a class that handles transcription. At basic level, we can instantiate the class in main, and call transcribe()
with a filepath passed in, and the class will return the transcription.
To get fancier, we can see if we can add a class method to return a progress status of the transcription.
I think the transcriber class should just handle one file at a time, and the caller can call the instance multiple times to process batches of files.
The audio files need to be fed to Whisper, and the resultant transcripts fed into new text files.
To generate the transcripts, the program must be able to do the following:
Questions: