- Introduced a comprehensive CSS file for styling the web interface, including variables for colors, layout styles, and responsive design adjustments. - Added a batch script to automate the process of stopping any existing instances of the web GUI and launching the new instance, along with opening the browser to the appropriate URL.
15 lines
253 B
Batchfile
15 lines
253 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0"
|
|
cd /d "c:\Users\12742\Desktop\douyin_guaji-main"
|
|
|
|
:: 可修改为你需要的端口,例如 8001
|
|
set PORT=8000
|
|
set PYTHONIOENCODING=utf-8
|
|
set PYTHONUNBUFFERED=1
|
|
|
|
call .venv\Scripts\activate.bat
|
|
python web_gui.py
|
|
|
|
pause
|