S0h9l commited on
Commit
ebb66c9
·
1 Parent(s): 2159c2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def transcribe(audio):
24
  print(f"Detected language: {max(probs, key=probs.get)}")
25
 
26
  # decode the audio
27
- options = whisper.DecodingOptions()
28
  result = whisper.decode(model, mel, options)
29
 
30
  #cohere
 
24
  print(f"Detected language: {max(probs, key=probs.get)}")
25
 
26
  # decode the audio
27
+ options = whisper.DecodingOptions(fp16 = False)
28
  result = whisper.decode(model, mel, options)
29
 
30
  #cohere