Instructions to use aoleg/MOSS-Image-Kodachrome with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aoleg/MOSS-Image-Kodachrome 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("aoleg/MOSS-Image-Kodachrome") prompt = "Kodachrome film, middle-aged white man with a weathered face wearing black overalls, gloves and goggles on his forehead. He stands beside a large wooden Northern Pacific Railway freight car, holding a coiled hose in his right hand. His left hand rests on the car's door. The background shows a clear blue sky and railway tracks. , 1940s, photo by Jack Delano, 4x5 Kodachrome" 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!