Download scripts/setup_env.sh from AbhijithNusamNu/scam_dectect_sheid: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/spaces/AbhijithNusamNu/scam_dectect_sheid/resolve/main/scripts/setup_env.sh
- Command line
-
hf download hf://spaces/AbhijithNusamNu/scam_dectect_sheid/scripts/setup_env.sh
-
curl -L -o setup_env.sh https://huggingface.co/spaces/AbhijithNusamNu/scam_dectect_sheid/resolve/main/scripts/setup_env.sh
478 Bytes
| set -e | |
| echo "Setting up the intent-classif environment..." | |
| # Install dependencies from pyproject.toml | |
| echo "Installing Python dependencies..." | |
| pip install -e . | |
| # Setup .env if it doesn't exist | |
| if [ ! -f .env ]; then | |
| echo "Creating .env from .env.example..." | |
| cp .env.example .env | |
| echo "Please open the .env file and fill in your MLFLOW_TRACKING_URI." | |
| else | |
| echo ".env file already exists. Skipping..." | |
| fi | |
| echo "Environment setup complete!" | |