Spaces:
Sleeping
Sleeping
Update run.py
Browse files
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
|