Instructions to use prithivMLmods/Flux2-Klein-Cinematic-FlatLog-Control with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Flux2-Klein-Cinematic-FlatLog-Control with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/Flux2-Klein-Cinematic-FlatLog-Control") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: other
|
| 3 |
-
license_name: flux-non-commercial-license
|
| 4 |
-
license_link: >-
|
| 5 |
-
https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: flux-non-commercial-license
|
| 4 |
+
license_link: >-
|
| 5 |
+
https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B/blob/main/LICENSE.md
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
base_model:
|
| 9 |
+
- black-forest-labs/FLUX.2-klein-base-9B
|
| 10 |
+
pipeline_tag: image-to-image
|
| 11 |
+
library_name: diffusers
|
| 12 |
+
tags:
|
| 13 |
+
- art
|
| 14 |
+
- lora
|
| 15 |
+
- Cinematic
|
| 16 |
+
- FlatLog
|
| 17 |
+
---
|