Vestiq / fastapi_startup_script.sh
Hashii1729's picture
Refactor Docker setup: remove Ollama integration, update FastAPI service, enhance health checks, and improve README documentation
2e94196
raw
history blame
449 Bytes
#!/bin/bash
# Debug: Check current user and permissions
echo "Current user: $(whoami)"
echo "Home directory: $HOME"
# Note: This script is deprecated as the application now uses transformers instead of Ollama
echo "Starting FastAPI server with transformers-based fashion analysis..."
# Start FastAPI on port 7860 (HF Spaces requirement)
echo "Starting FastAPI server on port 7860..."
cd /app
python3 -m uvicorn fast:app --host 0.0.0.0 --port 7860