Mark0047 commited on
Commit
9bd519a
·
verified ·
1 Parent(s): 9d372d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3-t
10
  # Define a function to process the output and extract only the transcription text
11
  def process_transcription(audio_input):
12
 
13
- result = pipe(audio_input, language="en")
14
  # Extract the transcription text directly
15
  transcription = result["text"]
16
  return transcription
 
10
  # Define a function to process the output and extract only the transcription text
11
  def process_transcription(audio_input):
12
 
13
+ result = pipe(audio_input)
14
  # Extract the transcription text directly
15
  transcription = result["text"]
16
  return transcription