@echo off chcp 65001 >nul setlocal enabledelayedexpansion echo ======================================== echo Pixelle-Video - Web UI Launcher echo ======================================== echo. :: Set environment variables set "PYTHON_HOME=%~dp0python\python311" set "PATH=%PYTHON_HOME%;%PYTHON_HOME%\Scripts;%~dp0tools\ffmpeg\bin;%PATH%" set "PROJECT_ROOT=%~dp0Pixelle-Video" :: Change to project directory cd /d "%PROJECT_ROOT%" :: Set PYTHONPATH to project root for module imports set "PYTHONPATH=%PROJECT_ROOT%" :: Start Web UI (Standalone mode) echo [Starting] Launching Pixelle-Video Web UI (Standalone)... echo Browser will open at: http://localhost:8501 echo. echo NOTE: This runs Web UI only. For full features, use start.bat echo or run start_api.bat in another window. echo Note: Configure API keys and settings in the Web UI. echo. echo Press Ctrl+C to stop the server echo ======================================== echo. "%PYTHON_HOME%\python.exe" -m streamlit run web\app.py if errorlevel 1 ( echo. echo [ERROR] Failed to start. Please check: echo 1. Python is properly installed echo 2. Dependencies are installed echo 3. Port 8501 is not already in use echo. pause )