Spaces:
Build error
Build error
Update on_startup.sh
Browse files- on_startup.sh +7 -1
on_startup.sh
CHANGED
@@ -2,4 +2,10 @@
|
|
2 |
# Write some commands here that will run on root user before startup.
|
3 |
# For example, to clone transformers and install it in dev mode:
|
4 |
# git clone https://github.com/huggingface/transformers.git
|
5 |
-
# cd transformers && pip install -e ".[dev]"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
# Write some commands here that will run on root user before startup.
|
3 |
# For example, to clone transformers and install it in dev mode:
|
4 |
# git clone https://github.com/huggingface/transformers.git
|
5 |
+
# cd transformers && pip install -e ".[dev]"
|
6 |
+
git clone https://github.com/itszerrin/DeepInfra-Wrapper.git
|
7 |
+
cd DeepInfra-Wrapper
|
8 |
+
python3 -m venv myvenv
|
9 |
+
source myvenv/bin/activate
|
10 |
+
pip install -r requirements.txt
|
11 |
+
python3 app.py
|