From 30f16035bcfd655f3608b37d7e5e709b3ba50cb4 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 18 Feb 2023 22:36:26 -0600 Subject: [PATCH] fix upscale copy ctor --- api/onnx_web/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/onnx_web/params.py b/api/onnx_web/params.py index f63d5315..2761e238 100644 --- a/api/onnx_web/params.py +++ b/api/onnx_web/params.py @@ -287,7 +287,7 @@ class UpscaleParams: } def with_args(self, **kwargs): - return ImageParams( + return UpscaleParams( kwargs.get("upscale_model", self.upscale_model), kwargs.get("correction_model", self.correction_model), kwargs.get("denoise", self.denoise),