Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|