|
|
--- |
|
|
license: other |
|
|
license_name: flux-1-dev-non-commercial-license |
|
|
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md |
|
|
--- |
|
|
# Flux Lora Model |
|
|
|
|
|
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. |
|
|
|
|
|
## Model Details |
|
|
- **Model type**: Lora (Low-Rank Adaptation) |
|
|
- **Pretrained**: Yes (Built on top of a pre-trained base model) |
|
|
- **Fine-tuned**: Yes (Fine-tuned on a custom dataset of high-quality images) |
|
|
- **Training data**: Fine-tuned on a custom dataset consisting of 10,000 images, including natural landscapes, abstract art, and architecture. |
|
|
|
|
|
## Usage |
|
|
|
|
|
To use this model, simply load it with the following code: |
|
|
|
|
|
```python |
|
|
from transformers import pipeline |
|
|
|
|
|
model = "huggingface/Flux_Lora_model" |
|
|
generator = pipeline('image-generation', model=model) |
|
|
|
|
|
# Generate an image |
|
|
output = generator("A futuristic cityscape at sunset") |
|
|
output[0]['image'].show() |