Spaces:
mskov
/
Runtime error

mskov commited on
Commit
298104c
·
1 Parent(s): 5bc1a67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def inference(audio):
29
  _, probs = model.detect_language(mel)
30
 
31
  # decode audio data
32
- options = whisper.DecodingOptions(fp16 = True)
33
  # transcribe speech to text
34
  result = whisper.decode(model, mel, options)
35
 
 
29
  _, probs = model.detect_language(mel)
30
 
31
  # decode audio data
32
+ options = whisper.DecodingOptions(fp16 = False)
33
  # transcribe speech to text
34
  result = whisper.decode(model, mel, options)
35