shahin-canary
commited on
Commit
•
280f0ca
1
Parent(s):
0b48f0f
Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,51 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
base_model:
|
4 |
-
- black-forest-labs/FLUX.1-dev
|
5 |
library_name: diffusers
|
|
|
6 |
tags:
|
7 |
-
- flux
|
8 |
- text-to-image
|
9 |
-
-
|
10 |
-
- safetensors
|
11 |
-
- fluxPipeline
|
12 |
-
- image-generation
|
13 |
- diffusers
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
|
|
|
|
3 |
library_name: diffusers
|
4 |
+
license: openrail++
|
5 |
tags:
|
|
|
6 |
- text-to-image
|
7 |
+
- diffusers-training
|
|
|
|
|
|
|
8 |
- diffusers
|
9 |
+
- lora
|
10 |
+
- fine-tuned
|
11 |
+
- template:sd-lora
|
12 |
+
instance_prompt: a photo of sks charctrbwy
|
13 |
+
widget:
|
14 |
+
- text: A photo of sks charctrbwy
|
15 |
+
output:
|
16 |
+
url: image_0.png
|
17 |
+
- text: sks charctrbwy in a futuristic setting
|
18 |
+
output:
|
19 |
+
url: image_1.png
|
20 |
+
- text: Portrait of sks charctrbwy wearing medieval attire
|
21 |
+
output:
|
22 |
+
url: image_2.png
|
23 |
+
---
|
24 |
+
|
25 |
+
# FLUX.1-dev LoRA Fine-Tuning - shahin-canary/charctrbwy
|
26 |
+
|
27 |
+
<Gallery />
|
28 |
+
|
29 |
+
## Model Description
|
30 |
+
|
31 |
+
This is a fine-tuned LoRA adaptation of the `black-forest-labs/FLUX.1-dev` model, created for generating images of the character **sks charctrbwy**. This model is capable of generating high-quality, customizable images based on text prompts. The fine-tuning process was performed using [DreamBooth](https://dreambooth.github.io/) and was trained to accurately represent `sks charctrbwy` in various contexts and settings.
|
32 |
+
|
33 |
+
## Trigger Words
|
34 |
+
|
35 |
+
To generate images, use the phrase “a photo of sks charctrbwy” as a prompt starter. Customize prompts with additional context for varied results (e.g., "sks charctrbwy in a serene landscape").
|
36 |
+
|
37 |
+
## How to Use
|
38 |
+
|
39 |
+
To use this model in your code, install the `diffusers` library and set up the pipeline as shown below:
|
40 |
+
|
41 |
+
```python
|
42 |
+
from diffusers import StableDiffusionPipeline
|
43 |
+
import torch
|
44 |
+
|
45 |
+
model_id = "shahin-canary/charctrbwy"
|
46 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
47 |
+
pipe = pipe.to("cuda")
|
48 |
+
|
49 |
+
prompt = "A photo of sks charctrbwy in a mystical forest"
|
50 |
+
image = pipe(prompt).images[0]
|
51 |
+
image.save("output.png")
|