GeorgeQi commited on
Commit
a69b537
·
verified ·
1 Parent(s): 6c1ffda

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -0
README.md CHANGED
@@ -80,6 +80,10 @@ from PIL import Image
80
  from diffusers.utils import load_image
81
  from diffusers import FluxInpaintPipeline
82
 
 
 
 
 
83
  pipe_inpainting = FluxInpaintPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to("cuda")
84
  pipe_inpainting.load_lora_weights("./color_palette_lora.safetensors")
85
  mask = load_image("./mask.jpg").resize(size=(768, 512))
 
80
  from diffusers.utils import load_image
81
  from diffusers import FluxInpaintPipeline
82
 
83
+ prompt = "[COLOR_PALETTE] This two-part image showcases the transformation from a color palette to a image. \
84
+ [LEFT] a color palette with eight 5 different colors. \
85
+ [RIGHT] an intricately designed perfume bottle resting on a vintage carved dressing table, flanked by elegant makeup and jewelry, with a gilded mirror above and a vase of peonies adding a romantic ambiance, all depicted in a refined vintage style."
86
+
87
  pipe_inpainting = FluxInpaintPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to("cuda")
88
  pipe_inpainting.load_lora_weights("./color_palette_lora.safetensors")
89
  mask = load_image("./mask.jpg").resize(size=(768, 512))