Spaces:
Sleeping
Sleeping
File size: 449 Bytes
d2ba52b 11e2c0d 2e94196 d2ba52b |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/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 |