Redmind commited on
Commit
a5bca4d
·
verified ·
1 Parent(s): 7cb6b3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def whisper_openai_transcribe(audio_file):
17
  Transcribe audio file using Whisper.
18
  """
19
  # Transcribe the audio file
20
- result = whisper_model.transcribe(audio_path)
21
 
22
  # Get the transcribed text
23
  transcribed_text = result['text']
 
17
  Transcribe audio file using Whisper.
18
  """
19
  # Transcribe the audio file
20
+ result = whisper_model.transcribe(audio_file)
21
 
22
  # Get the transcribed text
23
  transcribed_text = result['text']