don't tag translated subtitles
This commit is contained in:
parent
7567f1ffe2
commit
a4a60537f1
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ def extract_subtitles(item, user, layer, translate, gpu=False):
|
||||||
cmd += [
|
cmd += [
|
||||||
'--task', 'translate'
|
'--task', 'translate'
|
||||||
]
|
]
|
||||||
|
language = 'en'
|
||||||
if not gpu:
|
if not gpu:
|
||||||
cmd += [
|
cmd += [
|
||||||
"--fp16", "False",
|
"--fp16", "False",
|
||||||
|
|
Loading…
Reference in a new issue