Spaces:
Sleeping
Sleeping
Download scripts/start_ui.bat from thanhnv2323/humanize-text: direct link, hf CLI and curl.
- Browser
- Download file 809 Bytes
-
https://huggingface.co/spaces/thanhnv2323/humanize-text/resolve/main/scripts/start_ui.bat
- Command line
-
hf download hf://spaces/thanhnv2323/humanize-text/scripts/start_ui.bat
-
curl -L -o start_ui.bat https://huggingface.co/spaces/thanhnv2323/humanize-text/resolve/main/scripts/start_ui.bat
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 | |