tiennlu commited on
Commit
0e6081d
·
verified ·
1 Parent(s): e40fde0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ def transcribe_audio(audio_files: list, model_name="whisper-1"):
217
  audio = open(audio_file, "rb")
218
  try:
219
  response = completions_with_backoff(
220
- model=model_name, file=audio, response_format="text"
221
  )
222
  transcripts += response.text + " "
223
  except openai.OpenAIError as e:
 
217
  audio = open(audio_file, "rb")
218
  try:
219
  response = completions_with_backoff(
220
+ model=model_name, file=audio
221
  )
222
  transcripts += response.text + " "
223
  except openai.OpenAIError as e: