Spaces:
mskov
/
Runtime error

mskov commited on
Commit
8921104
·
1 Parent(s): 3292160

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def inference(audio):
38
  _, probs = model.detect_language(mel)
39
 
40
  # decode audio data
41
- options = whisper.DecodingOptions(fp16 = True)
42
  # transcribe speech to text
43
  result = whisper.decode(model, mel, options)
44
 
 
38
  _, probs = model.detect_language(mel)
39
 
40
  # decode audio data
41
+ options = whisper.DecodingOptions(fp16 = False)
42
  # transcribe speech to text
43
  result = whisper.decode(model, mel, options)
44