Instructions to use ms2stationthis/ansemflux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ms2stationthis/ansemflux 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-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ms2stationthis/ansemflux") prompt = "This image is a digital artwork featuring a close-up portrait of Ansem with dark skin and short, curly black hair. His facial features are prominently displayed, with a well-groomed beard and mustache. Ansem's expression is neutral, with his eyes slightly narrowed and his lips slightly parted, giving him a contemplative or serious demeanor. The lighting is soft and even, casting a gentle glow on his face, highlighting the natural texture of his skin." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!