from openai import OpenAI def transcript_audio_func(audio_file): client = OpenAI() transcription = client.audio.transcriptions.create( model="whisper", file=audio_file ) return transcription.text