Instructions to use Danrisi/canon_moss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Danrisi/canon_moss with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Danrisi/canon_moss") prompt = "c2n0n, dslr photo, amateur photo, candid photo, underexposed, high resolution.\n20 years old russian girl, striking green eyes, dark smokey eye makeup, She has a slightly upturned yet prominent nose, narrow small lips, subtly slanted eyes, black tears painted down from lower eyelids, small freckles across nose and cheeks, intricate face paint resembling stylized skeletal teeth in vibrant red, orange, and black hues covering her lips and extending across her cheeks, a vertical red and black painted stripe running down from the center of her lower lip, Her hair is tied in a ponytail, with loose face-framing fringe strands around her cheeks and forehead, wearing a black hooded sweatshirt, neutral expression with a direct gaze at the camera, \n\nquiet woodland, several narrow tree trunks rising vertically along the right side of the frame, intimate secluded forest atmosphere, strong directional sunlight breaking through the trees and striking her face, deep cool shadows behind her, patchy dappled sunlight, shallow depth of field, heavily blurred green woodland background, the subject remaining sharp in the center while the background appears to rotate around her, dreamy creamy bokeh, slightly desaturated greens," image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!