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

ttsfashion4
/
thennow

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

Instructions to use ttsfashion4/thennow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ttsfashion4/thennow 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("ttsfashion4/thennow")
    
    prompt = "Then-and-now: The foreground image is a black and white photo from the 1920s, depicting a marching band parading down a cobblestone street, with a slightly crumpled edge and a faint shadow from being held just above the background. The background is a modern color photo of the same street, now paved and lined with contemporary buildings. The cobblestone street in the foreground aligns perfectly with the current pavement, while the band members’ position aligns with the modern-day center of the road, creating a sharp boundary that juxtaposes the festive past with today’s quieter scene.Then-and-now: The foreground image is a black and white photo from the 1920s, depicting a marching band parading down a cobblestone street, with a slightly crumpled edge and a faint shadow from being held just above the background. The background is a modern color photo of the same street, now paved and lined with contemporary buildings. The cobblestone street in the foreground aligns perfectly with the current pavement, while the band members’ position aligns with the modern-day center of the road, creating a sharp boundary that juxtaposes the festive past with today's quieter scene."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
thennow
458 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
ttsfashion4's picture
ttsfashion4
Rename ThenAndNow_v1_flux_lora then-and-now.safetensors to ThenAndNow_v1_flux_lora.safetensors
0048171 verified almost 2 years ago
  • images
    Add 3 files almost 2 years ago
  • .gitattributes
    2.31 kB
    initial commit almost 2 years ago
  • README.md
    3.5 kB
    Update README.md almost 2 years ago
  • ThenAndNow_v1_flux_lora.safetensors
    451 MB
    xet
    Rename ThenAndNow_v1_flux_lora then-and-now.safetensors to ThenAndNow_v1_flux_lora.safetensors almost 2 years ago