Instructions to use cocktailpeanut/spectacles with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cocktailpeanut/spectacles 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("cocktailpeanut/spectacles") prompt = "an old asian lady wearing spectacles" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
metadata
tags:
- text-to-image
- flux
- lora
- diffusers
- template:sd-lora
- fluxgym
widget:
- output:
url: sample/spectacles_001600_00_20240918075755.png
text: an old asian lady wearing spectacles
- output:
url: sample/spectacles_001600_01_20240918075812.png
text: a politician in suits wearing spectacles
- output:
url: sample/spectacles_001600_02_20240918075829.png
text: teddy bear wearing spectacles
- output:
url: sample/spectacles_001600_03_20240918075846.png
text: a female fashion model walking on a runway wearing spectacles
- output:
url: sample/spectacles_001600_04_20240918075904.png
text: chucky wearing spectacles
- text: a black and white movie scene of charlie chaplin wearing spectacles
output:
url: images/example_hryh32ojx.png
- text: albert einstein in a black and white photo, wearing spectacles
output:
url: images/einstein.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: wearing spectacles
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
thumbnail: resolve/main/images/einstein.png
spectacles
Trained with Fluxgym

- Prompt
- an old asian lady wearing spectacles

- Prompt
- a politician in suits wearing spectacles

- Prompt
- teddy bear wearing spectacles

- Prompt
- a female fashion model walking on a runway wearing spectacles

- Prompt
- chucky wearing spectacles

- Prompt
- a black and white movie scene of charlie chaplin wearing spectacles

- Prompt
- albert einstein in a black and white photo, wearing spectacles
Trigger words
You should use wearing spectacles to trigger the image generation.
Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
Weights for this model are available in Safetensors format.