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
/
test-8

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

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

  • Libraries
  • Diffusers

    How to use serbdev/test-8 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/test-8")
    
    prompt = "p3rs0n a man and woman shaking hands in front of a black background. The man is wearing a suit and tie, while the woman has her arm around the man's shoulder. There is a plant in a pot to the right of them, and a few other objects in the background."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
test-8
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
serbdev's picture
serbdev
Upload folder using huggingface_hub
3b9e4be 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.05 kB
    Upload folder using huggingface_hub almost 2 years ago
  • dataset.toml
    257 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • ilustrations.safetensors
    39.8 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • sample_prompts.txt
    1.08 kB
    Upload folder using huggingface_hub almost 2 years ago
  • train.sh
    1.27 kB
    Upload folder using huggingface_hub almost 2 years ago