test / extensions /batchlinks-webui /sdless-windows-debug.bat
dikdimon's picture
Upload extensions using SD-Hub extension
c336648 verified
raw
history blame
665 Bytes
@echo off
if exist gradioinstalled.bak goto beginning
echo Checking gradio version...
echo.
python -c "import gradio" 2>nul && (
python -c "import gradio; assert gradio.__version__ == '3.16.2'" 2>nul || (
pip install gradio==3.16.2
)
) || (
pip install gradio==3.16.2
)
pip show tqdm >nul || pip install tqdm
pip freeze | findstr /i "\<gradio\>" >nul && pip freeze | findstr /i "\<tqdm\>" >nul && (echo. > gradioinstalled.bak)
echo.
:beginning
cd scripts
echo ^> python -m batchlinks-downloader.py --debug
echo.
python -m batchlinks-downloader.py --debug
echo.
echo Close the terminal to stop the looping launch
echo.
pause
echo.
goto beginning