Spaces:
Running
Running
File size: 483 Bytes
38024bc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Create a virtual environment with Python 3.10
python3.10 -m venv venv
# Activate the virtual environment
. ./venv/bin/activate
# Install the required dependencies
pip install -r requirements_lock.txt
# Download data
# check if git lfs is installed and run the appropriate script, otherwise run the curl script
if [ -x "$(command -v git-lfs)" ]; then
. ./scripts/download_data_lfs.sh
else
. ./scripts/download_data_curl.sh
fi
# Deactivate the virtual environment
deactivate
|