@echo off cd /d "%~dp0\.." py -3 scripts\run_web_ui.py if errorlevel 1 python scripts\run_web_ui.py pause