Spaces:
Runtime error
Runtime error
Ajay Karthick Senthil Kumar
commited on
Commit
·
b538230
1
Parent(s):
dd1c524
add install.sh
Browse files- install.sh +15 -0
- requirements.txt +1 -2
install.sh
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
echo "Installing Miniconda and setup the environment"
|
4 |
+
|
5 |
+
# Install Miniconda (if it's not already present)
|
6 |
+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
7 |
+
bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda
|
8 |
+
source "$HOME/miniconda/etc/profile.d/conda.sh"
|
9 |
+
conda init bash
|
10 |
+
|
11 |
+
echo "Installing praat-parselmouth directly in the current environment"
|
12 |
+
conda install -c conda-forge praat-parselmouth -y
|
13 |
+
|
14 |
+
echo "Continue with your app execution (Hugging Face will have already installed the pip dependencies)"
|
15 |
+
streamlit run app.py
|
requirements.txt
CHANGED
@@ -7,5 +7,4 @@ numpy==1.24.3
|
|
7 |
librosa==0.10.0
|
8 |
matplotlib==3.7.2
|
9 |
tqdm==4.66.1
|
10 |
-
seaborn==0.12.2
|
11 |
-
praat-parselmouth==0.4.0
|
|
|
7 |
librosa==0.10.0
|
8 |
matplotlib==3.7.2
|
9 |
tqdm==4.66.1
|
10 |
+
seaborn==0.12.2
|
|