-
Notifications
You must be signed in to change notification settings - Fork 9
/
0_Install_VisionCrafter.bat
36 lines (28 loc) · 1.08 KB
/
0_Install_VisionCrafter.bat
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
27
28
29
30
31
32
33
34
35
36
@echo off
REM 1. Create a venv folder
echo Creating virtual environment inside venv folder...
python -m venv venv
REM 2. Activate the venv
echo Activating venv...
call venv\Scripts\activate.bat
REM 3. Install dependencies from requirements.txt
echo Installing dependencies from requirements.txt
pip install -r requirements.txt
REM 4. Download stable-diffusion-v1-5
echo Downloading stable-diffusion-v1-5
git clone --branch fp16 https://huggingface.co/runwayml/stable-diffusion-v1-5 repos\animatediff\models\StableDiffusion\stable-diffusion-v1-5
REM 5. Download Motion Modules
echo Downloading Motion Modules
git clone https://huggingface.co/guoyww/animatediff repos\animatediff\models\Motion_Module
REM 6. Download toonyou model
set /p downloadModel=Do you want to download toonyou model? (y/n):
if "%downloadModel%"=="y" (
echo Downloading toonyou model
curl -k -L https://civitai.com/api/download/models/78775 -o models\checkpoints\toonyou_beta3.safetensors
) else (
echo Skipping toonyou model download
)
REM 7. Run VisionCrafter
echo Launching VisionCrafter
python main.py
pause