Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,8 +17,8 @@ ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
| 17 |
sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
| 18 |
|
| 19 |
os.system("apt-get install sox libsox-dev")
|
| 20 |
-
os.system("pip
|
| 21 |
-
|
| 22 |
|
| 23 |
import argparse
|
| 24 |
import gradio as gr
|
|
|
|
| 17 |
sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
| 18 |
|
| 19 |
os.system("apt-get install sox libsox-dev")
|
| 20 |
+
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")
|
| 21 |
+
|
| 22 |
|
| 23 |
import argparse
|
| 24 |
import gradio as gr
|