Instructions to use Ffgsd/lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ffgsd/lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zai-org/GLM-Image", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Ffgsd/lora") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 412 Bytes
23a28d5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- output:
url: images/7454ed43d354ee1b55df1a0adce0975f.jpg
text: '-'
base_model: zai-org/GLM-Image
instance_prompt: lora
license: bsl-1.0
---
# lora
<Gallery />
## Trigger words
You should use `lora` to trigger the image generation.
## Download model
[Download](/Ffgsd/lora/tree/main) them in the Files & versions tab.
|