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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

serbdev
/
another-lora-2

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

Instructions to use serbdev/another-lora-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use serbdev/another-lora-2 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-schnell", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("serbdev/another-lora-2")
    
    prompt = "p3rs0n a man walking his dog on a leash, holding a magnifying glass in his hand. He is wearing a blue shirt and jeans, and has a determined expression on his face. The dog is a medium-sized breed with a white and brown coat. The background of the image is a bright blue sky with white clouds. --d 40"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
another-lora-2
129 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
serbdev's picture
serbdev
Upload folder using huggingface_hub
9f9a5ae verified almost 2 years ago
  • sample
    Upload folder using huggingface_hub almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.24 kB
    Upload folder using huggingface_hub almost 2 years ago
  • another-lora-2-000004.safetensors
    39.8 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • another-lora-2-000008.safetensors
    39.8 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • another-lora-2.safetensors
    39.8 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • dataset.toml
    260 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • sample_prompts.txt
    1.17 kB
    Upload folder using huggingface_hub almost 2 years ago
  • train.sh
    1.28 kB
    Upload folder using huggingface_hub almost 2 years ago