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

  • Log In
  • Sign Up

seawolf2357
/
test-glasses

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

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

  • Libraries
  • Diffusers

    How to use seawolf2357/test-glasses 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-glasses")
    
    prompt = "A person with a pair of Burberry eyeglasses with a brown frame and clear lenses on a white background. The glasses have a classic, timeless design with the Burberry logo printed on the side. The lenses are tinted and the frame is made of a durable material, making them perfect for everyday wear. [trigger]"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
test-glasses
172 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
seawolf2357's picture
seawolf2357
Update README.md
47f1175 verified over 1 year ago
  • samples
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.01 kB
    Update README.md over 1 year ago
  • test-glasses.safetensors
    172 MB
    xet
    Upload folder using huggingface_hub over 1 year ago