Please someone help me with this below code:
Transcribe the audio using Whisper API
openai.api_key = "My API Key"
audio_file = open("output.wav", 'rb')
transcript = openai.Audio.transcribe("whisper-1", audio_file)
Save the transcript results in a variable
transcription = transcript
I'm trying transcribe a record and don't be working. The library that i'm using is "openai".
And when i used the "os" with "os.getenv" ahead of my API key happened this error : openai.error.AuthenticationError: No API key provided.