JustusI commited on
Commit
1e3e045
·
verified ·
1 Parent(s): 07e0963

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,8 +62,8 @@ def transcribe_audio(audio_path: str) -> str:
62
  with open(audio_path, "rb") as audio_file:
63
  transcript = client.audio.transcriptions.create(
64
  model="whisper-1",
65
- file=audio_file,
66
- response_format="text"
67
  )
68
  return transcript.text
69
  except Exception as e:
 
62
  with open(audio_path, "rb") as audio_file:
63
  transcript = client.audio.transcriptions.create(
64
  model="whisper-1",
65
+ file=audio_file
66
+ #response_format="text"
67
  )
68
  return transcript.text
69
  except Exception as e: