Text-to-Image
Diffusers
Safetensors
LibreFluxIPAdapterPipeline
neuralvfx commited on
Commit
b220db7
·
verified ·
1 Parent(s): cf9a510

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -61,6 +61,7 @@ pipe = DiffusionPipeline.from_pretrained(
61
  safety_checker=None
62
  )
63
 
 
64
  hf_hub_download(repo_id="neuralvfx/LibreFlux-IP-Adapter",
65
  filename="ip_adapter.pt",
66
  local_dir=".",
@@ -76,13 +77,13 @@ pipe.to(device)
76
  from PIL import Image
77
  from torchvision.transforms import ToTensor
78
 
79
- # Load IP Adapter Image
80
  hf_hub_download(repo_id="neuralvfx/LibreFlux-IP-Adapter",
81
  filename="examples/david.jpg",
82
  local_dir=".",
83
  local_dir_use_symlinks=False)
84
 
85
-
86
  ip_image = Image.open("examples/david.jpg").convert("RGB")
87
  ip_image = ip_image.resize((512, 512))
88
 
 
61
  safety_checker=None
62
  )
63
 
64
+ # Optional way to download the weights
65
  hf_hub_download(repo_id="neuralvfx/LibreFlux-IP-Adapter",
66
  filename="ip_adapter.pt",
67
  local_dir=".",
 
77
  from PIL import Image
78
  from torchvision.transforms import ToTensor
79
 
80
+ # Optional way to download test IP Adapter Image
81
  hf_hub_download(repo_id="neuralvfx/LibreFlux-IP-Adapter",
82
  filename="examples/david.jpg",
83
  local_dir=".",
84
  local_dir_use_symlinks=False)
85
 
86
+ # Load IP Adapter Image
87
  ip_image = Image.open("examples/david.jpg").convert("RGB")
88
  ip_image = ip_image.resize((512, 512))
89