Spaces:
Configuration error
Configuration error
Update app.py
Browse files
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 |
|