Instructions to use fofr/flux-2004 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fofr/flux-2004 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("fofr/flux-2004") prompt = "a bad 2004 photo, harsh flash" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add generated example
#2
by fofr - opened
- README.md +3 -0
- images/example_t9zz1xby3.png +0 -0
README.md
CHANGED
|
@@ -16,6 +16,9 @@ widget:
|
|
| 16 |
- text: a bad 2004 photo, harsh flash
|
| 17 |
output:
|
| 18 |
url: images/example_calk81u89.png
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
---
|
| 21 |
|
|
|
|
| 16 |
- text: a bad 2004 photo, harsh flash
|
| 17 |
output:
|
| 18 |
url: images/example_calk81u89.png
|
| 19 |
+
- text: a bad 2004 photo of a living room interior, harsh flash
|
| 20 |
+
output:
|
| 21 |
+
url: images/example_t9zz1xby3.png
|
| 22 |
|
| 23 |
---
|
| 24 |
|
images/example_t9zz1xby3.png
ADDED
|