Spaces:
Runtime error
Runtime error
Commit
·
ddf46e5
1
Parent(s):
9d55a11
add
Browse files- app.py +3 -3
- demo/install_mfa1.sh +1 -1
app.py
CHANGED
|
@@ -42,9 +42,9 @@ 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)
|
| 48 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 49 |
|
| 50 |
pipe = pipeline(
|
|
|
|
| 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)
|
| 48 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 49 |
|
| 50 |
pipe = pipeline(
|
demo/install_mfa1.sh
CHANGED
|
@@ -3,7 +3,7 @@ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/
|
|
| 3 |
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|
| 4 |
rm ~/miniconda3/miniconda.sh
|
| 5 |
conda init
|
| 6 |
-
|
| 7 |
conda create -n syntalker python=3.12 -y
|
| 8 |
conda activate syntalker
|
| 9 |
pip install git+https://github.com/RobinWitch/Montreal-Forced-Aligner.git
|
|
|
|
| 3 |
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|
| 4 |
rm ~/miniconda3/miniconda.sh
|
| 5 |
conda init
|
| 6 |
+
source ~/.bashrc
|
| 7 |
conda create -n syntalker python=3.12 -y
|
| 8 |
conda activate syntalker
|
| 9 |
pip install git+https://github.com/RobinWitch/Montreal-Forced-Aligner.git
|