humanize-text / scripts /start_ui.bat
thanhnv2323's picture
Ship the Space update through Hub binary storage
c0b1b71
Raw History Blame Contribute Delete
809 Bytes
@echo off
rem Humanize-Text — Web UI Windows Launcher
rem Usage: scripts\start_ui.bat
echo ===========================================
echo AI Text Humanizer Web UI Launcher
echo ===========================================
echo.
cd "%~dp0\.."
echo Checking and installing dependencies...
pip install -q -r requirements.txt
if %errorlevel% neq 0 (
echo [ERROR] Failed to install dependencies.
pause
exit /b %errorlevel%
)
echo ^^^& Verified dependencies.
echo.
echo Starting backend server and Web UI...
echo 👉 Open your browser at: http://localhost:8000
echo 👉 API Documentation: http://localhost:8000/docs
echo.
echo Press Ctrl+C to stop the server.
echo -------------------------------------------
uvicorn src.backend.app:app --host 127.0.0.1 --port 8000 --reload
pause