Update setup.sh
Browse files
setup.sh
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
#
|
4 |
-
|
5 |
-
|
|
|
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
# Install Python dependencies
|
4 |
+
pip install -r requirements.txt
|
5 |
+
|
6 |
+
# Download the model during build (prevents timeout on first request)
|
7 |
+
python -c "from transformers import AutoTokenizer, AutoModelForSeq2SeqLM; AutoTokenizer.from_pretrained('tscholak/cxmefzzi'); AutoModelForSeq2SeqLM.from_pretrained('tscholak/cxmefzzi')"
|