typo
This commit is contained in:
parent
2fa33c0902
commit
5e53ad8556
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ def extract_subtitles(item, user, layer, translate, gpu=False, join_sentences=Fa
|
||||||
src = item.streams()[0].media.path
|
src = item.streams()[0].media.path
|
||||||
|
|
||||||
tmp = tempfile.mkdtemp()
|
tmp = tempfile.mkdtemp()
|
||||||
output = os.pat.join(tmp, "output.json")
|
output = os.path.join(tmp, "output.json")
|
||||||
|
|
||||||
run_py = os.path.join(os.path.dirname(os.path.abspath(__file__)), "run_whisper.py")
|
run_py = os.path.join(os.path.dirname(os.path.abspath(__file__)), "run_whisper.py")
|
||||||
cmd = ["/opt/whisper-timestamped/bin/python", run_py]
|
cmd = ["/opt/whisper-timestamped/bin/python", run_py]
|
||||||
|
|
Loading…
Add table
Reference in a new issue