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

  • Log In
  • Sign Up

zenafey
/
pixel_f2

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

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

  • Libraries
  • Diffusers

    How to use zenafey/pixel_f2 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("zenafey/pixel_f2")
    
    prompt = "(masterpiece, top quality, best quality), pixel,pixel art, <lora:pixel_f2:0.5>"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
pixel_f2
151 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
zenafey's picture
zenafey
Add 2 files
08d566d over 2 years ago
  • images
    Add 2 files over 2 years ago
  • .gitattributes
    2.31 kB
    initial commit over 2 years ago
  • README.md
    962 Bytes
    initial commit over 2 years ago
  • pixel_f2.safetensors
    151 MB
    xet
    Add 2 files over 2 years ago