How Do You Even Use This In Python!?

#14
by TheAutonomous - opened

Hello. I have absolutely no clue how to use my device to use your model and generate images. Could someone please help me?

Not sure if this is the answer that you want but I'm using Invoke AI to generate images with this model

I'll assume you downloaded 7th_anime_v3_C.safetensors and have the latest version of diffusers installed:

pipe=StableDiffusionPipeline.from_single_file(
"./7th_anime_v3_C.safetensors", torch_dtype=torch.float32,local_files_only=True,safety_checker=None, requires_safety_checker=False,
).to('cuda')
prompt="girl, 4k, beautiful day in the park"

fimage=pipe(prompt).images[0]
fimage.save("img6.png")

Sign up or log in to comment