NameError: name 'safe_open' is not defined

#35
by huxm - opened

pipe = StableDiffusionInpaintPipeline.from_pretrained(
"stable-diffusion-2-inpainting",
torch_dtype=torch.float16,)

When I run here it reports an error, what is the solution please?

pipe = StableDiffusionInpaintPipeline.from_pretrained("stabilityai/stable-diffusion-2-inpainting", torch_dtype=torch.float16,)

This comment has been hidden
huxm changed discussion status to closed

Thank you for your answer, I have downloaded the model, it should not be a problem of the path

huxm changed discussion status to open

Sign up or log in to comment