Spaces:
Runtime error
Runtime error
Commit
•
b9f3f14
1
Parent(s):
6f6d2ea
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ snapshot_download('speech_tts/speech_kantts_ttsfrd', revision='v1.0.3', allow_fi
|
|
9 |
os.system('cd pretrained_models/speech_kantts_ttsfrd/ && pip install ttsfrd-0.3.6-cp38-cp38-linux_x86_64.whl')
|
10 |
os.system('sed -i s@pydantic.typing@typing_extensions@g /opt/conda/lib/python3.8/site-packages/inflect/__init__.py')
|
11 |
|
|
|
12 |
os.system("pip install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0 torchtext==0.16.0+cpu torchdata==0.7.0 --index-url https://download.pytorch.org/whl/cu121")
|
13 |
|
14 |
import gradio as gr
|
|
|
9 |
os.system('cd pretrained_models/speech_kantts_ttsfrd/ && pip install ttsfrd-0.3.6-cp38-cp38-linux_x86_64.whl')
|
10 |
os.system('sed -i s@pydantic.typing@typing_extensions@g /opt/conda/lib/python3.8/site-packages/inflect/__init__.py')
|
11 |
|
12 |
+
os.system("sudo apt-get install sox libsox-dev")
|
13 |
os.system("pip install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0 torchtext==0.16.0+cpu torchdata==0.7.0 --index-url https://download.pytorch.org/whl/cu121")
|
14 |
|
15 |
import gradio as gr
|