Instructions to use uwcc/SP0TTY_ctl2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use uwcc/SP0TTY_ctl2 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("uwcc/SP0TTY_ctl2") prompt = "black and white red drawing of Inside a cozy dimly lit room, a fireplace burns brightly while a window reveals a snowy mountain vista at night. A plush _chair_, wooden table, and flowers accentuate the room, illuminated by the fireplace and lamp., [trigger], grayscale digital illustration, red selective color, white background" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - flux | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - ai-toolkit | |
| widget: | |
| - text: black and white red drawing of Inside a cozy dimly lit room, a fireplace | |
| burns brightly while a window reveals a snowy mountain vista at night. A plush | |
| _chair_, wooden table, and flowers accentuate the room, illuminated by the | |
| fireplace and lamp., [trigger], grayscale digital illustration, red selective | |
| color, white background | |
| output: | |
| url: samples/1737569929232__000010000_0.jpg | |
| - text: black and white red drawing of Inside a cozy dimly lit room, a fireplace | |
| burns brightly while a window reveals a snowy mountain vista at night. A plush | |
| chair, wooden table, and flowers accentuate the room, illuminated by the fireplace | |
| and _lamp_., [trigger], grayscale digital illustration, red selective color, | |
| white background | |
| output: | |
| url: samples/1737569947615__000010000_1.jpg | |
| - text: black and white red drawing of Inside a cozy dimly lit room, a fireplace | |
| burns brightly while a window reveals a snowy mountain vista at night. A plush | |
| chair, wooden _table_, and flowers accentuate the room, illuminated by the | |
| fireplace and lamp., [trigger], grayscale digital illustration, red selective | |
| color, white background | |
| output: | |
| url: samples/1737569966003__000010000_2.jpg | |
| - text: black and white red drawing of Floating freely within a dark, smoky void, | |
| various pieces of furniture--_chairs_, tables, lamps, etc., levitate amidst | |
| an eerie yet mesmerizing scene, emanating an air of mystery and wonder., [trigger], | |
| grayscale digital illustration, red selective color, white background | |
| output: | |
| url: samples/1737569984376__000010000_3.jpg | |
| - text: black and white red drawing of Floating freely within a dark, smoky void, | |
| various pieces of furniture--chairs, tables, _lamps_, etc., levitate amidst | |
| an eerie yet mesmerizing scene, emanating an air of mystery and wonder., [trigger], | |
| grayscale digital illustration, red selective color, white background | |
| output: | |
| url: samples/1737570002752__000010000_4.jpg | |
| - text: black and white red drawing of Floating freely within a dark, smoky void, | |
| various pieces of furniture--chairs, _tables_, lamps, etc., levitate amidst | |
| an eerie yet mesmerizing scene, emanating an air of mystery and wonder., [trigger], | |
| grayscale digital illustration, red selective color, white background | |
| output: | |
| url: samples/1737570021127__000010000_5.jpg | |
| - text: black and white red drawing of A cartoonish bear character relaxes in a | |
| dimly lit room, wearing a colorful striped shirt and blue jeans, holding a | |
| whiskey glass and a cigarette while seated on a beanbag _chair_. The vintage | |
| atmosphere features a lamp, wooden table, assorted items, and a 'Pink Floyd' | |
| poster above the fireplace., [trigger], grayscale digital illustration, red | |
| selective color, white background | |
| output: | |
| url: samples/1737570039516__000010000_6.jpg | |
| - text: A cartoonish bear character relaxes in a dimly lit room, wearing a colorful | |
| striped shirt and blue jeans, holding a whiskey glass and a cigarette while | |
| seated on a beanbag _chair_. The vintage atmosphere features a lamp, wooden | |
| table, assorted items, and a 'Pink Floyd' poster above the fireplace., [trigger] | |
| output: | |
| url: samples/1737570057899__000010000_7.jpg | |
| - text: A cartoonish bear character relaxes in a dimly lit room, wearing a colorful | |
| striped shirt and blue jeans, holding a whiskey glass and a cigarette while | |
| seated on a beanbag _chair_. The vintage atmosphere features a lamp, wooden | |
| table, assorted items, and a 'Pink Floyd' poster above the fireplace. | |
| output: | |
| url: samples/1737570076283__000010000_8.jpg | |
| - text: '[trigger]' | |
| output: | |
| url: samples/1737570094661__000010000_9.jpg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: SP0TTY_style | |
| 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 | |
| # SP0TTY_ctl2 | |
| Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `SP0TTY_style` to trigger the image generation. | |
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc. | |
| Weights for this model are available in Safetensors format. | |
| [Download](/uwcc/SP0TTY_ctl2/tree/main) them in the Files & versions tab. | |
| ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) | |
| ```py | |
| from diffusers import AutoPipelineForText2Image | |
| import torch | |
| pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda') | |
| pipeline.load_lora_weights('uwcc/SP0TTY_ctl2', weight_name='SP0TTY_ctl2.safetensors') | |
| image = pipeline('black and white red drawing of Inside a cozy dimly lit room, a fireplace burns brightly while a window reveals a snowy mountain vista at night. A plush _chair_, wooden table, and flowers accentuate the room, illuminated by the fireplace and lamp., [trigger], grayscale digital illustration, red selective color, white background').images[0] | |
| image.save("my_image.png") | |
| ``` | |
| For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) | |