Instructions to use Shero448/zhuyuan-ilus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shero448/zhuyuan-ilus with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("John6666/prefect-illustrious-xl-v10-sdxl", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shero448/zhuyuan-ilus") prompt = "masterpiece, best quality, <break> solo, 1girl, zhu yuan, expressionless, looking at viewer, standing, holding gun, handgun, hand up, hand on own hip, ponytail, red eyes, police uniform, blue jacket, cropped jacket, open jacket, long sleeves, black gloves, black vest, white shirt, collared shirt, checkered necktie, black pants, tight pants, high-waist pants, outdoors, blue sky, cloud, city" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!