Spaces:
Running
Running
Create setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
chmod +x setup.sh
|
2 |
+
|
3 |
+
#!/bin/bash
|
4 |
+
|
5 |
+
# Install Rust
|
6 |
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
7 |
+
source $HOME/.cargo/env
|
8 |
+
|
9 |
+
# Upgrade pip
|
10 |
+
pip install --upgrade pip
|
11 |
+
|
12 |
+
# Install Python dependencies
|
13 |
+
pip install -r requirements.txt
|
14 |
+
|
15 |
+
# Download NLTK stopwords
|
16 |
+
python -c "import nltk; nltk.download('stopwords')"
|