Spaces:
Build error
Build error
Update on_startup.sh
Browse files- on_startup.sh +5 -0
on_startup.sh
CHANGED
@@ -3,6 +3,11 @@
|
|
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
|
|
|
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 |
+
sudo apt update
|
7 |
+
sudo apt install software-properties-common
|
8 |
+
sudo add-apt-repository ppa:deadsnakes/ppa
|
9 |
+
sudo apt update
|
10 |
+
sudo apt install python3.10
|
11 |
git clone https://github.com/itszerrin/DeepInfra-Wrapper.git
|
12 |
cd DeepInfra-Wrapper
|
13 |
python3 -m venv myvenv
|