Amrrs commited on
Commit
2b67cb0
1 Parent(s): 039c9e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def translate(video):
22
 
23
  audio_file = video2mp3(video)
24
 
25
- options = dict(beam_size=5, best_of=5, fp_16 = False)
26
  translate_options = dict(task="translate", **options)
27
  result = model.transcribe(audio_file,**translate_options)
28
 
 
22
 
23
  audio_file = video2mp3(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