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