Spaces:
Runtime error
Runtime error
Commit
·
345a0a8
1
Parent(s):
05105ab
add
Browse files- app.py +5 -0
- demo/install_mfa1.sh +12 -0
- test.ipynb +0 -0
app.py
CHANGED
|
@@ -37,6 +37,11 @@ from diffusion.resample import create_named_schedule_sampler
|
|
| 37 |
from models.vq.model import RVQVAE
|
| 38 |
import spaces
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
command = ["bash","./demo/install_mfa.sh"]
|
| 41 |
result = subprocess.run(command, capture_output=True, text=True)
|
| 42 |
print("debug1: ", result)
|
|
|
|
| 37 |
from models.vq.model import RVQVAE
|
| 38 |
import spaces
|
| 39 |
|
| 40 |
+
command = ["bash","./demo/install_mfa1.sh"]
|
| 41 |
+
result = subprocess.run(command, capture_output=True, text=True)
|
| 42 |
+
print("debug0: ", result)
|
| 43 |
+
|
| 44 |
+
|
| 45 |
command = ["bash","./demo/install_mfa.sh"]
|
| 46 |
result = subprocess.run(command, capture_output=True, text=True)
|
| 47 |
print("debug1: ", result)
|
demo/install_mfa1.sh
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mkdir -p ~/miniconda3
|
| 2 |
+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
|
| 3 |
+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|
| 4 |
+
rm ~/miniconda3/miniconda.sh
|
| 5 |
+
|
| 6 |
+
~/miniconda3/bin/conda create -n syntalker python=3.12 -y
|
| 7 |
+
~/miniconda3/bin/conda run -n syntalker pip install git+https://github.com/RobinWitch/Montreal-Forced-Aligner.git
|
| 8 |
+
~/miniconda3/bin/conda run -n syntalker conda install -c conda-forge kalpy -y
|
| 9 |
+
~/miniconda3/bin/conda run -n syntalker pip install pgvector
|
| 10 |
+
~/miniconda3/bin/conda run -n syntalker pip install Bio
|
| 11 |
+
~/miniconda3/bin/conda run -n syntalker mfa model download acoustic english_us_arpa
|
| 12 |
+
~/miniconda3/bin/conda run -n syntalker mfa model download dictionary english_us_arpa
|
test.ipynb
ADDED
|
File without changes
|