Delete README (8).md
Browse files- README (8).md +0 -68
README (8).md
DELETED
|
@@ -1,68 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
tags:
|
| 3 |
-
- text-to-image
|
| 4 |
-
- stable-diffusion
|
| 5 |
-
- lora
|
| 6 |
-
- diffusers
|
| 7 |
-
- image-generation
|
| 8 |
-
- flux
|
| 9 |
-
- safetensors
|
| 10 |
-
widget:
|
| 11 |
-
- text: a young woman
|
| 12 |
-
output:
|
| 13 |
-
url: images/0.png
|
| 14 |
-
base_model: black-forest-labs/FLUX.1-dev
|
| 15 |
-
instance_prompt: null
|
| 16 |
-
license: other
|
| 17 |
-
license_name: flux-1-dev-non-commercial-license
|
| 18 |
-
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 19 |
-
---
|
| 20 |
-
# FLUX.1-dev-LoRA-add-details
|
| 21 |
-
|
| 22 |
-
This is a LoRA trained on FLUX.1-dev for enhancing realism and details, achieveing natural skin. Made by [Dote](https://www.shakker.ai/userpage/7728c1d6b47649548612edffcb470ccb/publish).
|
| 23 |
-
|
| 24 |
-
<div class="container">
|
| 25 |
-
<img src="./images/poster.jpeg" width="1024"/>
|
| 26 |
-
</div>
|
| 27 |
-
|
| 28 |
-
## Showcases
|
| 29 |
-
|
| 30 |
-
<div class="container">
|
| 31 |
-
<img src="./images/20240830-195549.png" width="1024"/>
|
| 32 |
-
<img src="./images/20240830-195552.png" width="1024"/>
|
| 33 |
-
<img src="./images/20240830-195556.png" width="1024"/>
|
| 34 |
-
</div>
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
## Trigger words
|
| 38 |
-
|
| 39 |
-
There is no essential trigger words. The recommended scale is `1.0`. The scale be can be negative.
|
| 40 |
-
|
| 41 |
-
## Inference
|
| 42 |
-
|
| 43 |
-
```python
|
| 44 |
-
import torch
|
| 45 |
-
from diffusers import FluxPipeline
|
| 46 |
-
|
| 47 |
-
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
| 48 |
-
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration", weight_name="FLUX.1-dev-LoRA-add-details.safetensors")
|
| 49 |
-
pipe.fuse_lora(lora_scale=1.0)
|
| 50 |
-
pipe.to("cuda")
|
| 51 |
-
|
| 52 |
-
prompt = "A beautiful woman, flim rendering"
|
| 53 |
-
|
| 54 |
-
image = pipe(prompt,
|
| 55 |
-
num_inference_steps=24,
|
| 56 |
-
guidance_scale=3.5,
|
| 57 |
-
width=768, height=1024,
|
| 58 |
-
).images[0]
|
| 59 |
-
image.save(f"example.png")
|
| 60 |
-
```
|
| 61 |
-
|
| 62 |
-
## Online Inference
|
| 63 |
-
|
| 64 |
-
You can also download this model at [Shakker AI](https://www.shakker.ai/modelinfo/f040e8f8526945249ff4f150fc727eb3?from=personal_page), where we provide an online interface to generate images.
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
## Acknowledgements
|
| 68 |
-
This model is trained by our copyrighted users [Dote](https://www.shakker.ai/userpage/7728c1d6b47649548612edffcb470ccb/publish). We release this model under permissions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|