Instructions to use alvarobartt/ghibli-characters-flux-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alvarobartt/ghibli-characters-flux-lora 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("alvarobartt/ghibli-characters-flux-lora") prompt = "Ghibli style futuristic stormtrooper with glossy white armor and a sleek helmet, standing heroically on a lush alien planet, vibrant flowers blooming around, soft sunlight illuminating the scene, a gentle breeze rustling the leaves" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -104,7 +104,6 @@ image = pipeline(
|
|
| 104 |
width=1024,
|
| 105 |
height=768,
|
| 106 |
guidance_scale=3.5,
|
| 107 |
-
lora_scale=1.0,
|
| 108 |
).images[0]
|
| 109 |
|
| 110 |
image.save("ghibli.png", format="PNG")
|
|
|
|
| 104 |
width=1024,
|
| 105 |
height=768,
|
| 106 |
guidance_scale=3.5,
|
|
|
|
| 107 |
).images[0]
|
| 108 |
|
| 109 |
image.save("ghibli.png", format="PNG")
|