Instructions to use fofr/flux-handwriting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fofr/flux-handwriting 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-handwriting") prompt = "HWRIT scrawling messy handwriting saying \"Hello, this is a handwriting lora\", illegible, red ink on old stained" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add generated example (#1)
Browse files- Add generated example (ab592387707f8a92d104372af745e9cf2bac87a1)
- README.md +8 -6
- images/example_s8o4qten4.png +0 -0
README.md
CHANGED
|
@@ -9,14 +9,16 @@ tags:
|
|
| 9 |
- diffusers
|
| 10 |
- lora
|
| 11 |
- replicate
|
| 12 |
-
base_model:
|
| 13 |
pipeline_tag: text-to-image
|
| 14 |
-
# widget:
|
| 15 |
-
# - text: >-
|
| 16 |
-
# prompt
|
| 17 |
-
# output:
|
| 18 |
-
# url: https://...
|
| 19 |
instance_prompt: HWRIT handwriting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
# Flux Handwriting
|
|
|
|
| 9 |
- diffusers
|
| 10 |
- lora
|
| 11 |
- replicate
|
| 12 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 13 |
pipeline_tag: text-to-image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
instance_prompt: HWRIT handwriting
|
| 15 |
+
widget:
|
| 16 |
+
- text: >-
|
| 17 |
+
HWRIT scrawling messy handwriting saying "Hello, this is a handwriting
|
| 18 |
+
lora", illegible, red ink on old stained
|
| 19 |
+
output:
|
| 20 |
+
url: images/example_s8o4qten4.png
|
| 21 |
+
|
| 22 |
---
|
| 23 |
|
| 24 |
# Flux Handwriting
|
images/example_s8o4qten4.png
ADDED
|