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

  • Log In
  • Sign Up

StrategyAI
/
saylor-krea

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

Instructions to use StrategyAI/saylor-krea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use StrategyAI/saylor-krea 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-Krea-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("StrategyAI/saylor-krea")
    
    prompt = "photo of Saylor hiking in the mountains, he wears black suit white shirt orange tie, low contrast, shot on film, confident face, bokeh"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
saylor-krea
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
LaDoger's picture
LaDoger
Update README.md
fc5b230 verified 8 months ago
  • images
    Add 7 files 8 months ago
  • .gitattributes
    2.31 kB
    initial commit 8 months ago
  • README.md
    5.54 kB
    Update README.md 8 months ago
  • saylor-krea.safetensors
    89.7 MB
    xet
    Add 7 files 8 months ago