Funbi commited on
Commit
df1ec56
1 Parent(s): cdbb5e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def transcribe(audio):
27
 
28
 
29
  # decode the audio
30
- options = whisper.DecodingOptions()
31
  result = whisper.decode(model, mel, options)
32
  word= result.text
33
  trans = en_fr_translator(word)
 
27
 
28
 
29
  # decode the audio
30
+ options = whisper.DecodingOptions(fp16 = False)
31
  result = whisper.decode(model, mel, options)
32
  word= result.text
33
  trans = en_fr_translator(word)