Instructions to use Mariobilly/mschcine26-000000750 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mariobilly/mschcine26-000000750 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/mschcine26-000000750") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Set trigger word: mschcine26
Browse files
README.md
CHANGED
|
@@ -14,17 +14,19 @@ tags:
|
|
| 14 |
LoRA for **Z-Image Turbo**.
|
| 15 |
|
| 16 |
- **File:** `MschCine26_000000750.safetensors`
|
| 17 |
-
- **Trigger
|
| 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
|
| 23 |
-
in ComfyUI or your inference UI of choice.
|
|
|
|
| 24 |
|
| 25 |
```python
|
| 26 |
# diffusers example
|
| 27 |
from diffusers import DiffusionPipeline
|
| 28 |
pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo")
|
| 29 |
pipe.load_lora_weights("Mariobilly/mschcine26-000000750")
|
|
|
|
| 30 |
```
|
|
|
|
| 14 |
LoRA for **Z-Image Turbo**.
|
| 15 |
|
| 16 |
- **File:** `MschCine26_000000750.safetensors`
|
| 17 |
+
- **Trigger word:** `mschcine26`
|
| 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
|
| 23 |
+
in ComfyUI or your inference UI of choice. Include the trigger word `mschcine26`
|
| 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/mschcine26-000000750")
|
| 31 |
+
image = pipe("mschcine26, your prompt here").images[0]
|
| 32 |
```
|