Spaces:
Sleeping
Sleeping
Update pages/🧠_sickle_cell_chatbot.py
Browse files105 unmodified lines106107108109110111112105 unmodified linesdef transcribe_audio(_self, audio_bytes):#llm = ChatOpenAI(model_name=_self.openai_model, temperature=0, streaming=True)response = OpenAI().audio.transcriptions.create(model="whisper-1",file=("temp." + "wav", audio_bytes, "audio/wav"),)105 unmodified lines106107108109110111112105 unmodified linesdef transcribe_audio(_self, audio_bytes):#llm = ChatOpenAI(model_name=_self.openai_model, temperature=0, streaming=True)response = _self.openai_model.audio.transcriptions.create(model="whisper-1",file=("temp." + "wav", audio_bytes, "audio/wav"),)
pages/🧠_sickle_cell_chatbot.py+1-1