OSError: Error no file named model_index.json found in directory

#115
by ckllt - opened

hey, I used 'huggingface -cli' to down model , but i can't find model_index.json when I want to run this codes
'''
import torch
from diffusers import StableDiffusion3Pipeline

pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16)
pipe = pipe.to("cuda")

image = pipe(
"A cat holding a sign that says hello world",
negative_prompt="",
num_inference_steps=28,
guidance_scale=7.0,
).images[0]
image

'''
how to deal with it

Sign up or log in to comment