multimodal_module / install.sh
Princeaka's picture
Update install.sh
8c3b6f5 verified
raw
history blame
625 Bytes
#!/bin/bash
set -e
echo "πŸš€ Starting Hugging Face Space build"
echo "------------------------------------"
# Upgrade pip first
python -m pip install --upgrade pip
# Install all Python dependencies from requirements.txt
if [ -f requirements.txt ]; then
echo "πŸ“¦ Installing Python dependencies from requirements.txt..."
pip install --no-cache-dir -r requirements.txt
else
echo "❌ ERROR: requirements.txt not found in repo root"
exit 1
fi
# Create cache/temp directories for model storage
mkdir -p model_cache tmp
chmod -R 777 model_cache tmp
echo "βœ… Build complete β€” environment ready to launch!"