@echo off REM Character Forge - Startup Script REM ================================= echo. echo ======================================== echo Character Forge - Starting echo ======================================== echo. REM Check if GEMINI_API_KEY is set if "%GEMINI_API_KEY%"=="" ( echo WARNING: GEMINI_API_KEY environment variable is not set! echo. echo You can either: echo 1. Set it now: set GEMINI_API_KEY=your-key-here echo 2. Enter it in the UI when the app starts echo. echo Get your API key at: https://aistudio.google.com/app/apikey echo. pause ) REM Check if streamlit is available python -c "import streamlit" 2>nul if errorlevel 1 ( echo ERROR: Streamlit is not installed! echo. echo Please run: install.bat echo. pause exit /b 1 ) echo Starting Character Forge... echo. echo Application will open in your browser echo URL: http://localhost:8501 echo. echo Press Ctrl+C to stop echo. REM Change to character_forge_image directory and start cd character_forge_image streamlit run app.py cd ..