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

  • Log In
  • Sign Up

seawolf2357
/
test-hat

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

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

  • Libraries
  • Diffusers

    How to use seawolf2357/test-hat 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("seawolf2357/test-hat")
    
    prompt = "a man standing in a black coat and hat, with a pair of goggles in his hand. The background is dark, creating a stark contrast between the man and his surroundings. [trigger]"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
test-hat / samples
337 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
seawolf2357's picture
seawolf2357
Upload d1148ea9-dd77-4fd7-930b-8cf8afff554e.png
48a0673 verified over 1 year ago
  • 1728743227071__000001000_0.jpg
    28.8 kB
    Upload folder using huggingface_hub over 1 year ago
  • d1148ea9-dd77-4fd7-930b-8cf8afff554e.jfif
    41.9 kB
    Upload d1148ea9-dd77-4fd7-930b-8cf8afff554e.jfif over 1 year ago
  • d1148ea9-dd77-4fd7-930b-8cf8afff554e.png
    267 kB
    Upload d1148ea9-dd77-4fd7-930b-8cf8afff554e.png over 1 year ago