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

  • Log In
  • Sign Up

toothlessjw
/
naturescience

Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use toothlessjw/naturescience with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("toothlessjw/naturescience")
    
    prompt = "-"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
naturescience
30.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
toothlessjw's picture
toothlessjw
Add 2 files
131f268 over 2 years ago
  • images
    Add 2 files over 2 years ago
  • .gitattributes
    2.31 kB
    initial commit over 2 years ago
  • README.md
    474 Bytes
    initial commit over 2 years ago
  • naturescience.safetensors
    30.4 MB
    xet
    Add 2 files over 2 years ago