apply lint
This commit is contained in:
parent
af6cb1f295
commit
466a28c13b
|
@ -3,8 +3,8 @@ import unittest
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from onnx_web.diffusers.utils import (
|
from onnx_web.diffusers.utils import (
|
||||||
expand_interval_ranges,
|
|
||||||
expand_alternative_ranges,
|
expand_alternative_ranges,
|
||||||
|
expand_interval_ranges,
|
||||||
get_inversions_from_prompt,
|
get_inversions_from_prompt,
|
||||||
get_latents_from_seed,
|
get_latents_from_seed,
|
||||||
get_loras_from_prompt,
|
get_loras_from_prompt,
|
||||||
|
@ -13,6 +13,7 @@ from onnx_web.diffusers.utils import (
|
||||||
)
|
)
|
||||||
from onnx_web.params import Size
|
from onnx_web.params import Size
|
||||||
|
|
||||||
|
|
||||||
class TestExpandIntervalRanges(unittest.TestCase):
|
class TestExpandIntervalRanges(unittest.TestCase):
|
||||||
def test_prompt_with_no_ranges(self):
|
def test_prompt_with_no_ranges(self):
|
||||||
prompt = "an astronaut eating a hamburger"
|
prompt = "an astronaut eating a hamburger"
|
||||||
|
|
Loading…
Reference in New Issue