Spaces:
Build error
Build error
File size: 580 Bytes
6753690 9cc84c0 f8a6d99 9cc84c0 06a3e3d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/bin/bash
# Write some commands here that will run on root user before startup.
# For example, to clone transformers and install it in dev mode:
# git clone https://github.com/huggingface/transformers.git
# cd transformers && pip install -e ".[dev]"
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10
git clone https://github.com/itszerrin/DeepInfra-Wrapper.git
cd DeepInfra-Wrapper
python3 -m venv myvenv
source myvenv/bin/activate
pip install -r requirements.txt
python3.10 app.py |