thisisdom4's picture
Upload diffusers model files
350f60f verified
|
Raw History Blame Contribute Delete
769 Bytes

Realism by Stable Yogi - Diffusers Format

This is a Stable Diffusion model converted to the Diffusers format for use with the Hugging Face Diffusers library.

Model Details

  • Name: Realism by Stable Yogi
  • Type: Stable Diffusion Checkpoint
  • Format: Diffusers

Usage

from diffusers import StableDiffusionPipeline
import torch

pipeline = StableDiffusionPipeline.from_pretrained(
    "Realism by Stable Yogi",
    torch_dtype=torch.float16,
    safety_checker=None
)
if torch.cuda.is_available():
    pipeline = pipeline.to("cuda")
    
image = pipeline(
    prompt="your prompt here", 
    num_inference_steps=30,
    guidance_scale=7.0
).images[0]
image.save("output.png")

License

Please respect the original model's license.