Amrrs commited on
Commit
47ff94d
·
1 Parent(s): 0685109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def transcribe(audio):
18
  print(f"Detected language: {max(probs, key=probs.get)}")
19
 
20
  # decode the audio
21
- options = whisper.DecodingOptions()
22
  result = whisper.decode(model, mel, options)
23
  return result.text
24
 
 
18
  print(f"Detected language: {max(probs, key=probs.get)}")
19
 
20
  # decode the audio
21
+ options = whisper.DecodingOptions(fp16 = False)
22
  result = whisper.decode(model, mel, options)
23
  return result.text
24