Instructions to use YuLexuan30/Meng_Zhang_Lora_MenWithSwords with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YuLexuan30/Meng_Zhang_Lora_MenWithSwords with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Liberata/illustrious-xl-v1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("YuLexuan30/Meng_Zhang_Lora_MenWithSwords") prompt = "mgz, solo, from behind, toned, black hair, hanfu, headpiece, long hair, realistic, wide sleeves, long sleeves, layered sleeves, gradient dress, outdoors, " image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K