lollms-webui/installations/download_all_personalities.bat

27 lines
564 B
Batchfile
Raw Normal View History

@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
2023-05-30 10:00:51 +00:00
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.
)