Diffusers How to use prithivMLmods/Flux-Polaroid-Plus 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("prithivMLmods/Flux-Polaroid-Plus")
prompt = "Polaroid Collage, a collage of photographs of the New York City is displayed on a white surface. The photographs are arranged in a grid-like pattern, with a variety of buildings and skyscrapers visible. The buildings are lit up, creating a stark contrast against the blue sky. The photograph is taken from a low angle, adding a touch of depth to the composition."
image = pipe(prompt).images[0]