runaksh commited on
Commit
7ea10f9
·
1 Parent(s): b28847e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def transcribe_audio(audio):
17
  _, probs = model.detect_language(mel)
18
 
19
  # Decode the audio
20
- options = whisper.DecodingOptions()
21
  result = whisper.decode(model, mel, options)
22
 
23
  return result.text
 
17
  _, probs = model.detect_language(mel)
18
 
19
  # Decode the audio
20
+ options = whisper.DecodingOptions(fp16 = False)
21
  result = whisper.decode(model, mel, options)
22
 
23
  return result.text