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

  • Log In
  • Sign Up

fatique
/
polybotstrainer

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

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

  • Libraries
  • Diffusers

    How to use fatique/polybotstrainer 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("fatique/polybotstrainer")
    
    prompt = "(best quality:1.2), trainer,1boy, :d, brown eyes, brown hair, clenched hands, full body, hood, hood down, hooded jacket, hooded sweater, hoodie, looking at viewer, male focus, open mouth, pants, red footwear, red hoodie, shoes, short hair, smile, solo, standing, teeth, white background"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
polybotstrainer / images
47.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
fatique's picture
fatique
Add 2 files
ada43e9 verified over 1 year ago
  • 981105d619ecdf71c248b1dc735d89de_high.webp
    47.1 kB
    xet
    Add 2 files over 1 year ago