SyntheticMDProductions's picture
Update ADAM safety, UI, and model workflows (#1)
c61c435
Raw History Blame Contribute Delete
692 Bytes
@echo off
setlocal
cd /d "%~dp0"
python -c "import PySide6, psutil, PIL" 2>nul
if errorlevel 1 (
echo ADAM's desktop requirements are missing from this Python environment.
echo Install them with:
echo python -m pip install -r "%~dp0requirements.txt"
echo.
pause
exit /b 1
)
rem Optional trainers and collectors are connected through ADAM Settings.
rem Their dependencies belong to their own environments, not startup.
python main.py
if errorlevel 1 (
echo.
echo ADAM could not start. Check the application log for details.
echo To install the application requirements, run:
echo python -m pip install -r "%~dp0requirements.txt"
echo.
pause
exit /b 1
)
endlocal