File size: 649 Bytes
c336648 |
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 |
@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
echo.
python -m batchlinks-downloader.py
echo.
echo Close the terminal to stop the looping launch
echo.
pause
echo.
goto beginning |