lollms-webui/installations/download_all_personalities.bat
2023-05-30 12:00:51 +02:00

27 lines
564 B
Batchfile

@echo off
rem Set the environment name
set environment_name=env
rem Activate the virtual environment
call %environment_name%\Scripts\activate.bat
rem Change to the installations subfolder
rem Run the Python script
python installations/download_all_personalities.py
rem Deactivate the virtual environment
echo deactivating
call %environment_name%\Scripts\deactivate.bat
rem Remove tmp folder
set "folder=tmp"
if exist "%folder%" (
echo Folder exists. Deleting...
rd /s /q "%folder%"
echo Folder deleted.
) else (
echo Folder does not exist.
)