@echo off REM Quick Setup Script for Backend REM Run this from C:\antigravity-workspace\backend echo StableVITON Backend Setup echo ========================= echo. REM Check if we're in the right directory if not exist "main.py" ( echo ERROR: Please run this script from C:\antigravity-workspace\backend exit /b 1 ) REM Create virtual environment echo Creating virtual environment... python -m venv venv REM Activate virtual environment echo Activating virtual environment... call venv\Scripts\activate.bat REM Upgrade pip echo Upgrading pip... python -m pip install --upgrade pip REM Install dependencies echo Installing dependencies (this may take a few minutes)... pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118 pip install fastapi uvicorn[standard] python-multipart pydantic pip install diffusers transformers accelerate pip install Pillow opencv-python numpy pip install huggingface-hub python-dotenv requests aiofiles echo. echo Setup complete! echo. echo To run the server: echo 1. Activate venv: venv\Scripts\activate.bat echo 2. Run server: python main.py echo. echo Note: First run will download the AI model (~4GB)