kevinwang676 commited on
Commit
953b33f
·
verified ·
1 Parent(s): 1626ea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 uninstall torchaudio -y")
21
- os.system("pip install torchaudio")
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