Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

deepgoyal19
/
mysd2

Text-to-Image
Diffusers
lora
Model card Files Files and versions
xet
Community

Instructions to use deepgoyal19/mysd2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use deepgoyal19/mysd2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("deepgoyal19/mysd1", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("deepgoyal19/mysd2")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
mysd2
3.29 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
deepgoyal19's picture
deepgoyal19
Upload pytorch_lora_weights.bin
76fee52 almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • README.md
    5.29 kB
    Update README.md almost 3 years ago
  • pytorch_lora_weights.bin
    3.29 MB
    xet
    Upload pytorch_lora_weights.bin almost 3 years ago