#!/bin/bash # Debug information echo "=== Debug Information ===" echo "Current user: $(whoami)" echo "User ID: $(id)" echo "Current directory: $(pwd)" echo "Home directory: $HOME" echo "PATH: $PATH" echo "=========================" echo "Starting Fashion Analyzer with transformers-based AI models..." # Start FastAPI on port 7860 (HF Spaces requirement) echo "Starting FastAPI server on port 7860..." cd /app python3 app.py