Question:
Can someone help figure out how to utilize OpenAI’s Whisper library on a Python REPL? Every time I try to follow the steps listed in the github repo here, I receive a lot of error messages in the console.
I am hoping someone could write the step-by-step commands one needs to enter to get the Whisper library to work in a python REPL.
import whisper
model = whisper.load_model("base")
result = model.transcribe("audio.mp3")
print(result["text"])
Hi Ian. Just read that article and tried to follow along, but I am having a lot of trouble with the ffmpeg package. I keep receiving this error even though I have pip installed it.
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
Any thoughts? Does anyone have step by step guide for REPLIT specifically?
on replit running pip install -U openai-whisper will auto install ffmpeg-python but other errors seem to occur no module named torch.C_ idk if it works on replit ngl?
Hi @Dprevoznik I think you are maybe the first person to try using this package with Replit. There are no step-by-step guides that I can find at the moment.