Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
---
|
| 4 |
-
|
| 5 |
-
# Lora Photorealism for Flux
|
| 6 |
|
| 7 |
This repository provides a checkpoint with trained LoRA photorealism for
|
| 8 |
[FLUX.1-dev model](https://huggingface.co/black-forest-labs/FLUX.1-dev) by Black Forest Labs
|
|
@@ -28,6 +27,16 @@ Dataset has the following format for the training process:
|
|
| 28 |
```
|
| 29 |
A .json file contains "caption" field with a text prompt.
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
# License
|
| 32 |
|
| 33 |
lora.safetensors falls under the [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) Non-Commercial License<br/>
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
---
|
| 4 |
+

|
|
|
|
| 5 |
|
| 6 |
This repository provides a checkpoint with trained LoRA photorealism for
|
| 7 |
[FLUX.1-dev model](https://huggingface.co/black-forest-labs/FLUX.1-dev) by Black Forest Labs
|
|
|
|
| 27 |
```
|
| 28 |
A .json file contains "caption" field with a text prompt.
|
| 29 |
|
| 30 |
+
# Inference
|
| 31 |
+
```bash
|
| 32 |
+
python3 demo_lora_inference.py \
|
| 33 |
+
--checkpoint lora.safetensors \
|
| 34 |
+
--prompt "A handsome girl in a suit covered with bold tattoos and holding a pistol. fantasy style, natural photo cinematic"
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
|
| 39 |
+
|
| 40 |
# License
|
| 41 |
|
| 42 |
lora.safetensors falls under the [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) Non-Commercial License<br/>
|