Skip to content

Commit

Permalink
fix: download test image since img folder is gone
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois committed Jan 28, 2023
1 parent 44aecb9 commit f4fee41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ run() {
}

tests() {
BASE_URL="https://raw.githubusercontent.com/fboulnois/repository-assets/main/assets/stable-diffusion-docker"
TEST_IMAGE="An_impressionist_painting_of_a_parakeet_eating_spaghetti_in_the_desert_s1.png"
cp "img/${TEST_IMAGE}" "input/${TEST_IMAGE}"
curl -sL "${BASE_URL}/${TEST_IMAGE}" > "$PWD/input/${TEST_IMAGE}"
run --skip --height 512 --width 640 "abstract art"
run --device cpu --image "${TEST_IMAGE}" --strength 0.6 "abstract art"
run --model "stabilityai/stable-diffusion-2" \
Expand Down

0 comments on commit f4fee41

Please sign in to comment.