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

NeedAHugNOW
/
City-Pop-LoKr

Text-to-Image
Diffusers
English
krea-2
lokr
lora
style-transfer
city-pop
painting
Model card Files Files and versions
xet
Community

Instructions to use NeedAHugNOW/City-Pop-LoKr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use NeedAHugNOW/City-Pop-LoKr with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw,krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("NeedAHugNOW/City-Pop-LoKr")
    
    prompt = "two samurais in flowing robes doing a muay thai fight, one throws a high kick while the other leans back."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
City-Pop-LoKr
237 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
NeedAHugNOW's picture
NeedAHugNOW
Update README.md
765a447 verified about 20 hours ago
  • images
    Upload 13 files about 20 hours ago
  • .gitattributes
    2.22 kB
    Upload 13 files about 20 hours ago
  • README.md
    12.5 kB
    Update README.md about 20 hours ago
  • city-pop-structure.safetensors
    88.2 MB
    xet
    Upload 2 files about 20 hours ago
  • city-pop-texture.safetensors
    117 MB
    xet
    Upload 2 files about 20 hours ago
  • workflow.json
    18.5 kB
    Upload workflow.json about 20 hours ago