mirror of https://github.com/bmaltais/kohya_ss
17 lines
441 B
Batchfile
17 lines
441 B
Batchfile
@echo off
|
|
:: Check if there are any changes that need to be committed
|
|
git status --short
|
|
if %errorlevel%==1 (
|
|
echo There are changes that need to be committed. Please stash or undo your changes before running this script.
|
|
exit
|
|
)
|
|
|
|
:: Pull the latest changes from the remote repository
|
|
git pull
|
|
|
|
:: Activate the virtual environment
|
|
call .\venv\Scripts\activate.bat
|
|
|
|
:: Validate requirements
|
|
python.exe .\tools\validate_requirements.py
|