From 37707dddd91d5368e67268a046ef56b4cc7d1586 Mon Sep 17 00:00:00 2001 From: huchenlei Date: Sun, 5 May 2024 16:13:12 -0400 Subject: [PATCH] fix test --- tests/web_api/detect_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/web_api/detect_test.py b/tests/web_api/detect_test.py index dc37f33de..2862c120f 100644 --- a/tests/web_api/detect_test.py +++ b/tests/web_api/detect_test.py @@ -75,7 +75,7 @@ def detect_template(payload, output_name: str, status: int = 200): def test_detect_all_modules(module: str): payload = dict( controlnet_input_images=[realistic_girl_face_img], - controlnet_masks=[mask_img], + controlnet_module=module, ) detect_template(payload, f"detect_{module}")