Update README.md
Browse files
README.md
CHANGED
|
@@ -2,4 +2,27 @@
|
|
| 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 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
---
|
| 6 |
+
# Flux Lora Model
|
| 7 |
+
|
| 8 |
+
This is a **Flux Lora** model, designed to generate high-quality images from user prompts. It has been fine-tuned on a custom dataset to provide better output for specific visual tasks.
|
| 9 |
+
|
| 10 |
+
## Model Details
|
| 11 |
+
- **Model type**: Lora (Low-Rank Adaptation)
|
| 12 |
+
- **Pretrained**: Yes (Built on top of a pre-trained base model)
|
| 13 |
+
- **Fine-tuned**: Yes (Fine-tuned on a custom dataset of high-quality images)
|
| 14 |
+
- **Training data**: Fine-tuned on a custom dataset consisting of 10,000 images, including natural landscapes, abstract art, and architecture.
|
| 15 |
+
|
| 16 |
+
## Usage
|
| 17 |
+
|
| 18 |
+
To use this model, simply load it with the following code:
|
| 19 |
+
|
| 20 |
+
```python
|
| 21 |
+
from transformers import pipeline
|
| 22 |
+
|
| 23 |
+
model = "huggingface/Flux_Lora_model"
|
| 24 |
+
generator = pipeline('image-generation', model=model)
|
| 25 |
+
|
| 26 |
+
# Generate an image
|
| 27 |
+
output = generator("A futuristic cityscape at sunset")
|
| 28 |
+
output[0]['image'].show()
|