Text-to-Image
Diffusers
diffusers-training
lora
FLUX.1-dev
science
materiomics
bio-inspired
materials science
generative AI for science
Instructions to use lamm-mit/leaf-FLUX.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lamm-mit/leaf-FLUX.1-dev 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("lamm-mit/leaf-FLUX.1-dev") prompt = "<leaf microstructure>" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -189,4 +189,6 @@ grid = image_grid(all_images, num_rows, num_samples,
|
|
| 189 |
grid
|
| 190 |
```
|
| 191 |
|
| 192 |
-
|
|
|
|
|
|
|
|
|
| 189 |
grid
|
| 190 |
```
|
| 191 |
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
|