sIMERR commited on
Commit
46b5e76
1 Parent(s): 34acbce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def translate(input_video):
22
 
23
  audio_file = video2mp3(input_video)
24
 
25
- options = dict(beam_size=5, best_of=5)
26
  translate_options = dict(task="translate", **options)
27
  result = model.transcribe(audio_file,**translate_options)
28
 
 
22
 
23
  audio_file = video2mp3(input_video)
24
 
25
+ options = dict(beam_size=5, best_of=5, fp16=false)
26
  translate_options = dict(task="translate", **options)
27
  result = model.transcribe(audio_file,**translate_options)
28