|
--- |
|
tags: |
|
- text-to-image |
|
- flux |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
- ai-toolkit |
|
widget: |
|
- text: '[trigger] with red hair, playing chess at the park, bomb going off in the |
|
background' |
|
output: |
|
url: samples/1730707433252__000002500_0.jpg |
|
- text: '[trigger] holding a coffee cup, in a beanie, sitting at a cafe' |
|
output: |
|
url: samples/1730707443278__000002500_1.jpg |
|
- text: '[trigger] is a DJ at a night club, fish eye lens, smoke machine, lazer |
|
lights, holding a martini' |
|
output: |
|
url: samples/1730707453302__000002500_2.jpg |
|
- text: '[trigger] showing off his cool new t shirt at the beach, a shark is jumping |
|
out of the water in the background' |
|
output: |
|
url: samples/1730707463320__000002500_3.jpg |
|
- text: '[trigger] building a log cabin in the snow covered mountains' |
|
output: |
|
url: samples/1730707473353__000002500_4.jpg |
|
- text: '[trigger] playing the guitar, on stage, singing a song, laser lights, punk |
|
rocker' |
|
output: |
|
url: samples/1730707483390__000002500_5.jpg |
|
- text: '[trigger] with a beard, building a chair, in a wood shop' |
|
output: |
|
url: samples/1730707493411__000002500_6.jpg |
|
- text: photo of a [trigger], white background, medium shot, modeling clothing, |
|
studio lighting, white backdrop |
|
output: |
|
url: samples/1730707503424__000002500_7.jpg |
|
- text: '[trigger] holding a sign that says, ''this is a sign''' |
|
output: |
|
url: samples/1730707513447__000002500_8.jpg |
|
- text: '[trigger], in a post apocalyptic world, with a shotgun, in a leather jacket, |
|
in a desert, with a motorcycle' |
|
output: |
|
url: samples/1730707523503__000002500_9.jpg |
|
base_model: black-forest-labs/FLUX.1-dev |
|
instance_prompt: not1on_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 |
|
--- |
|
|
|
# notion-style-lora |
|
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) |
|
<Gallery /> |
|
|
|
## Trigger words |
|
|
|
You should use `not1on_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](/shinealom/notion-style-lora/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('shinealom/notion-style-lora', weight_name='notion-style-lora.safetensors') |
|
image = pipeline('[trigger] with red hair, playing chess at the park, bomb going off in the 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) |
|
|
|
|