Spaces:
Runtime error
Runtime error
wenmengzhou
commited on
Commit
•
fa47fc6
1
Parent(s):
0174a18
add symbolic link for libsox.so
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ logging.basicConfig(level=logging.INFO)
|
|
4 |
import spaces
|
5 |
import os
|
6 |
import sys
|
|
|
|
|
7 |
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
8 |
sys.path.append('{}/third_party/AcademiCodec'.format(ROOT_DIR))
|
9 |
sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
|
|
4 |
import spaces
|
5 |
import os
|
6 |
import sys
|
7 |
+
os.symlink("/usr/lib/x86_64-linux-gnu/libsox.so.3", "/usr/lib/x86_64-linux-gnu/libsox.so")
|
8 |
+
|
9 |
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
10 |
sys.path.append('{}/third_party/AcademiCodec'.format(ROOT_DIR))
|
11 |
sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|