prasanacodes commited on
Commit
b88a974
·
verified ·
1 Parent(s): afada3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def transcribe_audio(audio_path):
59
  model="openai/whisper-large-v3-turbo",
60
  torch_dtype=torch_dtype,
61
  device=device,
62
- language='en',
63
  )
64
 
65
  if audio_path is None:
 
59
  model="openai/whisper-large-v3-turbo",
60
  torch_dtype=torch_dtype,
61
  device=device,
62
+ generate_kwargs={"language": "english"},
63
  )
64
 
65
  if audio_path is None: