File size: 896 Bytes
2d1e9c8 67ae74a 2d1e9c8 67ae74a 2d1e9c8 5cd93cf 2d1e9c8 67ae74a 2d1e9c8 67ae74a 2d1e9c8 67ae74a 5cd93cf 67ae74a 5cd93cf 67ae74a 5cd93cf 67ae74a 5cd93cf 67ae74a 5cd93cf 67ae74a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
---
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
language:
- en
tags:
- flux
- diffusers
- lora
- stable-diffusion
- text-to-image
base_model: "black-forest-labs/FLUX.1-dev"
pipeline_tag: text-to-image
inference: true # Bu satırı ekleyin
---
# Malika
<Gallery />
## Usage with 🧨 Diffusers
```python
from diffusers import DiffusionPipeline
import torch
# Load base model
pipeline = DiffusionPipeline.from_pretrained(
"black-forest-labs/FLUX.1-dev",
torch_dtype=torch.float16
).to("cuda")
# Load your LoRA
pipeline.load_lora_weights(
"codermert/malikafinal",
weight_name="lora.safetensors",
adapter_name="malika"
)
# Generate image
image = pipeline(
prompt="portrait of TOK, <malika>, photorealistic, 8K",
negative_prompt="blurry, deformed"
).images[0] |