Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

prithivMLmods
/
Retro-Pixel-Flux-LoRA

Text-to-Image
Diffusers
lora
template:diffusion-lora
Retro
Pixel
Model card Files Files and versions
xet
Community
1

Instructions to use prithivMLmods/Retro-Pixel-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use prithivMLmods/Retro-Pixel-Flux-LoRA with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("prithivMLmods/Retro-Pixel-Flux-LoRA")
    
    prompt = "Retro Pixel, A pixelated image of a german shepherd dog. The dogs fur is a vibrant shade of brown, with a black stripe running down its back. The background is a light green, and the dogs shadow is cast on the ground."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Retro-Pixel-Flux-LoRA / images
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
prithivMLmods's picture
prithivMLmods
Upload RP4.webp
893959c verified over 1 year ago
  • RP1.png
    431 kB
    xet
    Upload 3 files over 1 year ago
  • RP2.png
    964 kB
    xet
    Upload 3 files over 1 year ago
  • RP3.png
    765 kB
    xet
    Upload 3 files over 1 year ago
  • RP4.webp
    32.2 kB
    xet
    Upload RP4.webp over 1 year ago