Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

aoleg
/
MOSS-Image-Kodachrome

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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
MOSS-Image-Kodachrome
109 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
aoleg's picture
aoleg
Upload lokr-moss-kodachrome-v1.safetensors
16d29e2 verified 1 day ago
  • images
    Add 11 files 1 day ago
  • .gitattributes
    2.31 kB
    initial commit 1 day ago
  • README.md
    8.35 kB
    Update README.md 1 day ago
  • lokr-moss-kodachrome-v1.safetensors
    36.4 MB
    xet
    Upload lokr-moss-kodachrome-v1.safetensors 1 day ago
  • lokr-moss-kodachrome-v1_000000750.safetensors
    36.4 MB
    xet
    Add 11 files 1 day ago