From 320ea01d113096e5d99715b3adbe6b82eb9c0059 Mon Sep 17 00:00:00 2001 From: hlky <106811348+hlky@users.noreply.github.com> Date: Thu, 1 Sep 2022 22:12:53 +0100 Subject: [PATCH] #466 --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index b096e42..d7d5d07 100644 --- a/webui.py +++ b/webui.py @@ -1136,7 +1136,7 @@ class Flagging(gr.FlaggingCallback): def img2img(prompt: str, image_editor_mode: str, init_info, mask_mode: str, mask_blur_strength: int, ddim_steps: int, sampler_name: str, toggles: List[int], realesrgan_model_name: str, n_iter: int, cfg_scale: float, denoising_strength: float, - seed: int, height: int, width: int, resize_mode: int, fp): + seed: int, height: int, width: int, resize_mode: int, fp = None): outpath = opt.outdir_img2img or opt.outdir or "outputs/img2img-samples" err = False seed = seed_to_int(seed)