Spaces:
Sleeping
Sleeping
File size: 409 Bytes
d0e9a6d 1afabcf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/bin/bash
echo "Setting up environment..."
# Create virtual environment if it doesn't exist
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python3 -m venv venv
fi
# Activate virtual environment
source venv/bin/activate
# Install requirements
echo "Installing dependencies..."
pip install -r requirements.txt
# Start the app
echo "Launching your Hugging Face app!"
python app.py |