Remove resume_download from args as deprecated
parent
4e5c2c7a91
commit
df7bfd8b2c
|
|
@ -386,7 +386,7 @@ def run_inpaint(input_image, sel_mask, prompt, n_prompt, ddim_steps, cfg_scale,
|
|||
ia_logging.error(str(e))
|
||||
if not config_offline_inpainting:
|
||||
try:
|
||||
pipe = StableDiffusionInpaintPipeline.from_pretrained(inp_model_id, torch_dtype=torch_dtype, resume_download=True)
|
||||
pipe = StableDiffusionInpaintPipeline.from_pretrained(inp_model_id, torch_dtype=torch_dtype)
|
||||
except Exception as e:
|
||||
ia_logging.error(str(e))
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue