Spaces:
Runtime error
Runtime error
| echo "============================================" | |
| echo " Wellfound AI - Excel Data Completion Tool" | |
| echo "============================================" | |
| echo "" | |
| # Check Python | |
| if ! command -v python3 &> /dev/null && ! command -v python &> /dev/null; then | |
| echo "[ERROR] Python not found. Please install Python 3.9+" | |
| exit 1 | |
| fi | |
| PYTHON=$(command -v python3 || command -v python) | |
| # Install dependencies | |
| echo "[1/3] Installing dependencies..." | |
| $PYTHON -m pip install -r requirements.txt -q | |
| # Install Playwright browsers | |
| echo "[2/3] Installing Playwright browsers..." | |
| $PYTHON -m playwright install chromium --quiet 2>/dev/null || echo "[WARNING] Playwright browser install had issues" | |
| # Start server | |
| echo "[3/3] Starting server..." | |
| echo "" | |
| echo "Server running at: http://localhost:7860" | |
| echo "Press Ctrl+C to stop" | |
| echo "" | |
| $PYTHON app.py | |