Shreyas094 commited on
Commit
f20ebd9
·
verified ·
1 Parent(s): abe40b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -631,11 +631,7 @@ def transcribe(audio_file):
631
 
632
  print("Calling automatic_speech_recognition")
633
 
634
- response = whisper_api.automatic_speech_recognition(
635
- audio_data,
636
- return_timestamps=False,
637
- language="en" # or "auto" for automatic language detection
638
- )
639
 
640
  print(f"Received response: {response}")
641
 
 
631
 
632
  print("Calling automatic_speech_recognition")
633
 
634
+ response = whisper_api.automatic_speech_recognition(audio_data)
 
 
 
 
635
 
636
  print(f"Received response: {response}")
637