fix upscale copy ctor
This commit is contained in:
parent
ac1f7449bb
commit
30f16035bc
|
@ -287,7 +287,7 @@ class UpscaleParams:
|
||||||
}
|
}
|
||||||
|
|
||||||
def with_args(self, **kwargs):
|
def with_args(self, **kwargs):
|
||||||
return ImageParams(
|
return UpscaleParams(
|
||||||
kwargs.get("upscale_model", self.upscale_model),
|
kwargs.get("upscale_model", self.upscale_model),
|
||||||
kwargs.get("correction_model", self.correction_model),
|
kwargs.get("correction_model", self.correction_model),
|
||||||
kwargs.get("denoise", self.denoise),
|
kwargs.get("denoise", self.denoise),
|
||||||
|
|
Loading…
Reference in New Issue