Instructions to use Mariobilly/drawing-ink with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mariobilly/drawing-ink with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Mariobilly/drawing-ink") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add sample gallery
Browse files
README.md
CHANGED
|
@@ -17,6 +17,13 @@ LoRA for **Z-Image Turbo**.
|
|
| 17 |
- **Trigger word:** `drawingink`
|
| 18 |
- **Trained by:** [@Mariobilly](https://huggingface.co/Mariobilly)
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
## Usage
|
| 21 |
|
| 22 |
Place the `.safetensors` file in your `models/loras/` folder and load it
|
|
@@ -24,7 +31,6 @@ in ComfyUI or your inference UI of choice. Include the trigger word `drawingink`
|
|
| 24 |
in your prompt to activate the LoRA.
|
| 25 |
|
| 26 |
```python
|
| 27 |
-
# diffusers example
|
| 28 |
from diffusers import DiffusionPipeline
|
| 29 |
pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo")
|
| 30 |
pipe.load_lora_weights("Mariobilly/drawing-ink")
|
|
|
|
| 17 |
- **Trigger word:** `drawingink`
|
| 18 |
- **Trained by:** [@Mariobilly](https://huggingface.co/Mariobilly)
|
| 19 |
|
| 20 |
+
## Samples
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+

|
| 24 |
+

|
| 25 |
+

|
| 26 |
+
|
| 27 |
## Usage
|
| 28 |
|
| 29 |
Place the `.safetensors` file in your `models/loras/` folder and load it
|
|
|
|
| 31 |
in your prompt to activate the LoRA.
|
| 32 |
|
| 33 |
```python
|
|
|
|
| 34 |
from diffusers import DiffusionPipeline
|
| 35 |
pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo")
|
| 36 |
pipe.load_lora_weights("Mariobilly/drawing-ink")
|