Spaces:
Runtime error
Runtime error
Create install.sh
Browse files- install.sh +14 -0
install.sh
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Install system dependencies
|
4 |
+
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
5 |
+
sudo apt-get update
|
6 |
+
sudo apt-get install -y espeak
|
7 |
+
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
8 |
+
brew install espeak
|
9 |
+
else
|
10 |
+
echo "Please install espeak manually for Windows."
|
11 |
+
fi
|
12 |
+
|
13 |
+
# Install Python dependencies
|
14 |
+
pip install -r requirements.txt
|