textToSQL commited on
Commit
c9fdada
·
1 Parent(s): 2028320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def transcribe(audio):
33
  print(f"Detected language: {max(probs, key=probs.get)}")
34
 
35
  # decode the audio
36
- options = whisper.DecodingOptions(fp16 = False)
37
  result = whisper.decode(model, mel, options)
38
  return result.text
39
 
 
33
  print(f"Detected language: {max(probs, key=probs.get)}")
34
 
35
  # decode the audio
36
+ options = whisper.DecodingOptions(fp16 = True)
37
  result = whisper.decode(model, mel, options)
38
  return result.text
39