1
0
Fork 0

sonar lint

This commit is contained in:
Sean Sube 2023-11-25 15:28:03 -06:00
parent 1818a36c11
commit c134edf4b3
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
3 changed files with 3 additions and 7 deletions

View File

@ -28,9 +28,7 @@ class UpscaleOutpaintStageTests(unittest.TestCase):
3, 3,
0.1, 0.1,
), ),
ServerContext( ServerContext(),
# model_path="../models",
),
None, None,
ImageParams( ImageParams(
"../models/stable-diffusion-onnx-v1-inpainting", "../models/stable-diffusion-onnx-v1-inpainting",

View File

@ -28,9 +28,7 @@ class UpscaleSwinIRStageTests(unittest.TestCase):
3, 3,
0.1, 0.1,
), ),
ServerContext( ServerContext(),
# model_path="../models",
),
None, None,
None, None,
sources, sources,

View File

@ -18,7 +18,7 @@ from tests.helpers import test_device
def main_memory(_worker): def main_memory(_worker):
raise Exception(MEMORY_ERRORS[0]) raise MemoryError(MEMORY_ERRORS[0])
def main_retry(_worker): def main_retry(_worker):