arcanus commited on
Commit
28162e3
·
verified ·
1 Parent(s): 80eed24

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -1
run.py CHANGED
@@ -2,7 +2,8 @@ import multiprocessing
2
  from app import app as main_app
3
  import sys
4
  import os
5
-
 
6
  # Add the titulky directory to Python path
7
  #sys.path.append(os.path.join(os.path.dirname(__file__), 'titulky'))
8
  #from titulky.app import app as subtitle_app
 
2
  from app import app as main_app
3
  import sys
4
  import os
5
+ import subprocess
6
+ subprocess.run(["pip", "install", "coqui-tts==0.25.1", "--no-deps"])
7
  # Add the titulky directory to Python path
8
  #sys.path.append(os.path.join(os.path.dirname(__file__), 'titulky'))
9
  #from titulky.app import app as subtitle_app