Upload setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
echo "Downloading NLTK data"
|
2 |
+
python -m nltk.downloader punkt
|
3 |
+
python -m nltk.downloader wordnet
|
4 |
+
|
5 |
+
# Install gunicorn
|
6 |
+
pip install gunicorn
|
7 |
+
|
8 |
+
# Start the Flask application using gunicorn
|
9 |
+
gunicorn -b 0.0.0.0:$PORT app:app
|