Skip to content

Commit

Permalink
fix(tests): update blend refs for release tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 11, 2023
1 parent cd11e8f commit 5825097
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/blend-512-muffin-blend-0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/blend-512-muffin-white-0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions api/scripts/test-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from logging import getLogger
from logging.config import dictConfig
from os import environ, path
from sys import argv
from time import sleep
from typing import List, Optional, Union

Expand Down Expand Up @@ -79,6 +80,10 @@ def __init__(
"txt2img-sd-v1-5-512-muffin-heun",
"txt2img?prompt=a+giant+muffin&seed=0&scheduler=heun",
),
TestCase(
"txt2img-sd-v1-5-512-muffin-unipc",
"txt2img?prompt=a+giant+muffin&seed=0&scheduler=unipc-multi",
),
TestCase(
"txt2img-sd-v2-1-512-muffin",
"txt2img?prompt=a+giant+muffin&seed=0&scheduler=ddim&model=stable-diffusion-onnx-v2-1",
Expand Down Expand Up @@ -175,17 +180,17 @@ def __init__(
"blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim",
mask="mask-white",
source=[
"txt2img-sd-v2-1-512-muffin-0",
"txt2img-sd-v1-5-512-muffin-0",
"txt2img-sd-v2-1-512-muffin-0",
],
),
TestCase(
"blend-512-muffin-blend",
"blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim",
mask="mask-blend",
source=[
"txt2img-sd-v2-1-512-muffin-0",
"txt2img-sd-v1-5-512-muffin-0",
"txt2img-sd-v2-1-512-muffin-0",
],
),
]
Expand Down

0 comments on commit 5825097

Please sign in to comment.