Instructions to use liuhahi/Zeyan-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use liuhahi/Zeyan-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("black-forest-labs/FLUX.1-schnell", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("liuhahi/Zeyan-lora") prompt = "A lone warrior stands in front of the camera, his piercing gaze locked forward with unwavering focus. He wears rugged leather armor with battle scars etched into the surface, and his posture is tall and imposing. The light hits him from the side, casting dramatic shadows that highlight his strong jawline and determined expression. Behind him, the blurred background fades into a soft, cool-toned cityscape, keeping the attention on his resolute face. The camera captures every detail of his appearance with stunning clarity, from the weathered texture of his armor to the subtle reflection in his intense eyes. In this cinematic shot, the warrior’s presence is commanding, exuding strength and confidence." image = pipe(prompt).images[0] - Inference
- 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!