Instructions to use den123/Caricature2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use den123/Caricature2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("den123/Caricature2") prompt = "Donald Trump portrait , art, poster, vector art, Caricature2" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add generated example
#1
by den123 - opened
- README.md +4 -0
- images/example_k1ryuu0to.png +3 -0
README.md
CHANGED
|
@@ -8,9 +8,13 @@ widget:
|
|
| 8 |
- text: '-'
|
| 9 |
output:
|
| 10 |
url: images/Pumpkin.png
|
|
|
|
|
|
|
|
|
|
| 11 |
base_model: black-forest-labs/FLUX.1-dev
|
| 12 |
instance_prompt: Caricature2
|
| 13 |
license: apache-2.0
|
|
|
|
| 14 |
---
|
| 15 |
# Caricature2
|
| 16 |
|
|
|
|
| 8 |
- text: '-'
|
| 9 |
output:
|
| 10 |
url: images/Pumpkin.png
|
| 11 |
+
- text: Donald Trump portrait , art, poster, vector art, Caricature2-
|
| 12 |
+
output:
|
| 13 |
+
url: images/example_k1ryuu0to.png
|
| 14 |
base_model: black-forest-labs/FLUX.1-dev
|
| 15 |
instance_prompt: Caricature2
|
| 16 |
license: apache-2.0
|
| 17 |
+
|
| 18 |
---
|
| 19 |
# Caricature2
|
| 20 |
|
images/example_k1ryuu0to.png
ADDED
|
Git LFS Details
|