chinmaydan commited on
Commit
010e32d
1 Parent(s): 81d79b3

changed fp16 options to false for whisper

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ def predictWithmRASP2(input_audio, src_language, tgt_language):
180
 
181
  # asr
182
 
183
- options = whisper.DecodingOptions(fp16 = True, language = src_language)
184
  result = whisper.decode(model, mel, options)
185
  if src_language is None:
186
  src_language = result.language
 
180
 
181
  # asr
182
 
183
+ options = whisper.DecodingOptions(fp16 = False, language = src_language)
184
  result = whisper.decode(model, mel, options)
185
  if src_language is None:
186
  src_language = result.language