rohanz / README.md
maulikanalog's picture
Add generated example (#8)
00d3242 verified
|
raw
history blame
2.2 kB
---
tags:
- text-to-image
- flux
- lora
- diffusers
- template:sd-lora
- ai-toolkit
widget:
- text: rohanz in a bustling cafe
output:
url: images/example_mjlnbyaex.png
- text: rohanz in tailored Italian suit
output:
url: images/example_xqmearxn4.png
- text: rohanz in tailored Italian taxedo
output:
url: images/example_rq252sxsp.png
- text: rohanz in tailored Italian blue suit in office
output:
url: images/example_y9g5bktzi.png
- text: >-
rohanz as official passport photo for government documents. wearing a dark
blue navy t-shirt. photorealistic. light gray background. entire face
visible. entire head visible
output:
url: images/example_cd5hv57gi.png
- text: rohanz in hipster coffee place with coffee cup on table
output:
url: images/example_6a47ecako.png
- text: >-
rohanz in tailored Italian blue suit in google office behind him google logo
there
output:
url: images/example_ntk0jt742.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: rohanz
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
---
# rohanz
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
<Gallery />
## Trigger words
You should use `rohanz` 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](/None/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('None', weight_name='rohanz')
image = pipeline('model in a bustling cafe ').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)