forked from usrname0/YaGGUF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_gui.bat
More file actions
43 lines (38 loc) · 1.05 KB
/
run_gui.bat
File metadata and controls
43 lines (38 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@echo off
REM Quick launcher for the GUI on Windows
REM Check if venv exists
if not exist venv (
echo ========================================
echo Virtual Environment Not Found
echo ========================================
echo.
echo This is your first time running the GUI.
echo We need to set up the environment first.
echo.
echo Press any key to run setup now, or Ctrl+C to cancel...
pause >nul
echo.
call scripts\setup_windows.bat
if errorlevel 1 (
echo.
echo Setup failed. Please check the errors above.
pause
exit /b 1
)
echo.
echo Setup complete! Starting GUI...
echo.
)
REM Activate virtual environment
call venv\Scripts\activate.bat
REM Check and update binaries if needed
echo.
python scripts\check_and_download_binaries.py
echo.
echo Starting YaGGUF GUI...
echo.
echo Streamlit will open in your browser automatically.
echo The URL will be displayed below.
echo Press Ctrl+C to stop the server
echo.
streamlit run gguf_converter/gui.py --server.address=localhost