From 778cc40805da633e277d48384e64e2278ac1da40 Mon Sep 17 00:00:00 2001 From: Chengsong Zhang Date: Wed, 8 Nov 2023 12:12:18 -0600 Subject: [PATCH] fix test --- .github/workflows/tests.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 107f96a0..a608fdf1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -66,6 +66,9 @@ jobs: working-directory: stable-diffusion-webui - name: Download LoRA model for testing run: | + if [ ! -d "models/Lora" ]; then + mkdir models/Lora + fi if [ ! -f "models/Lora/yoimiya.safetensors" ]; then curl -Lo models/Lora/yoimiya.safetensors https://civitai.com/api/download/models/48374?type=Model&format=SafeTensor fi