enter image description here enter image description here
`# make sure you're logged in with `huggingface-cli login`
pipe = StableDiffusionPipeline.from_pretrained(
'CompVis/stable-diffusion-v1-4', revision='fp16',
torch_dtype=torch.float16, use_auth_token=True)
pipe = pipe.to(device)`
Error :
How to resolve this problem. Fixed Code.