Instructions to use glif/how2draw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use glif/how2draw 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("glif/how2draw") prompt = "an owl, How3Draw" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
#2
by angolinn - opened
README.md
CHANGED
|
@@ -28,7 +28,8 @@ widget:
|
|
| 28 |
- text: sunflower, How2Draw
|
| 29 |
output:
|
| 30 |
url: images/66863ebc-f465-439f-9eb3-a14c2c8ec947.jpg
|
| 31 |
-
base_model:
|
|
|
|
| 32 |
instance_prompt: How2Draw
|
| 33 |
license: cc0-1.0
|
| 34 |
---
|
|
@@ -61,4 +62,4 @@ You should use `How2Draw` to trigger the image generation.
|
|
| 61 |
|
| 62 |
Weights for this model are available in Safetensors format.
|
| 63 |
|
| 64 |
-
[Download](/glif/how2draw/tree/main) them in the Files & versions tab.
|
|
|
|
| 28 |
- text: sunflower, How2Draw
|
| 29 |
output:
|
| 30 |
url: images/66863ebc-f465-439f-9eb3-a14c2c8ec947.jpg
|
| 31 |
+
base_model:
|
| 32 |
+
- stepfun-ai/GOT-OCR2_0
|
| 33 |
instance_prompt: How2Draw
|
| 34 |
license: cc0-1.0
|
| 35 |
---
|
|
|
|
| 62 |
|
| 63 |
Weights for this model are available in Safetensors format.
|
| 64 |
|
| 65 |
+
[Download](/glif/how2draw/tree/main) them in the Files & versions tab.
|