Remove resume_download from args as deprecated

main
Uminosachi 2024-06-21 08:26:43 +09:00
parent 4e5c2c7a91
commit df7bfd8b2c
1 changed files with 1 additions and 1 deletions

View File

@ -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: