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
Download spectacles-000008.safetensors from cocktailpeanut/spectacles: direct link, hf CLI and curl.
- Browser
- Download file 39.8 MB
-
https://huggingface.co/cocktailpeanut/spectacles/resolve/main/spectacles-000008.safetensors
- Command line
-
hf download hf://cocktailpeanut/spectacles/spectacles-000008.safetensors
-
curl -L -o spectacles-000008.safetensors https://huggingface.co/cocktailpeanut/spectacles/resolve/main/spectacles-000008.safetensors
39.8 MB
- Xet hash:
- 9352d2e753a7aa42a432d15169fa017b854d79e69dd7560ffd0f7b76c90cf470
- Size of remote file:
- 39.8 MB
- SHA256:
- 5b60bc8de8cf5b6492535cb378506e7a1f86e1f102763259064e8ec16fccd2ae
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.