Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

anthienlong
/
replica

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

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

  • Libraries
  • Diffusers

    How to use anthienlong/replica 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("anthienlong/replica")
    
    prompt = " beautiful woman in Superman suit"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
replica / images
73.9 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
anthienlong's picture
anthienlong
Add 2 files
8c03df7 verified over 1 year ago
  • 0a921ee5b7ff474298c27a21680a7e78fbf5a867e733e50d5d6f5fdccb714b9d.png
    73.9 kB
    xet
    Add 2 files over 1 year ago