Update README.md
Browse files
README.md
CHANGED
|
@@ -2,8 +2,35 @@
|
|
| 2 |
license: other
|
| 3 |
license_name: flux-1-dev-non-commercial-license
|
| 4 |
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 5 |
-
base_model:
|
| 6 |
-
- black-forest-labs/FLUX.1-dev
|
| 7 |
new_version: black-forest-labs/FLUX.1-dev
|
| 8 |
library_name: diffusers
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: flux-1-dev-non-commercial-license
|
| 4 |
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 5 |
+
base_model: black-forest-labs/FLUX.1-dev
|
|
|
|
| 6 |
new_version: black-forest-labs/FLUX.1-dev
|
| 7 |
library_name: diffusers
|
| 8 |
+
tags:
|
| 9 |
+
- lora
|
| 10 |
+
- stable-diffusion
|
| 11 |
+
- flux
|
| 12 |
+
- fine-tuning
|
| 13 |
+
inference: true
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Emuixom/MySelfEmil - LoRA Model
|
| 17 |
+
|
| 18 |
+
This repository contains a LoRA fine-tuned version of the base model `black-forest-labs/FLUX.1-dev`, designed for [your project or specific use case].
|
| 19 |
+
|
| 20 |
+
## How to Use
|
| 21 |
+
|
| 22 |
+
### Using the Inference API
|
| 23 |
+
You can use this model directly via the Hugging Face Inference API:
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from diffusers import StableDiffusionPipeline
|
| 27 |
+
|
| 28 |
+
# Load pipeline with LoRA weights
|
| 29 |
+
pipe = StableDiffusionPipeline.from_pretrained("Emuixom/MySelfEmil", torch_dtype=torch.float16)
|
| 30 |
+
|
| 31 |
+
# Run inference
|
| 32 |
+
prompt = "Your descriptive prompt here"
|
| 33 |
+
image = pipe(prompt).images[0]
|
| 34 |
+
|
| 35 |
+
# Display the image
|
| 36 |
+
image.show()
|