Update README.md
Browse files
README.md
CHANGED
|
@@ -114,7 +114,7 @@ from huggingface_hub import hf_hub_download
|
|
| 114 |
from diffusers import DiffusionPipeline
|
| 115 |
from optimum.quanto import freeze, quantize, qint8
|
| 116 |
|
| 117 |
-
model_id = "neuralvfx/LibreFlux-IP-Adapter"
|
| 118 |
|
| 119 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 120 |
dtype = torch.bfloat16 if device == "cuda" else torch.float32
|
|
@@ -128,7 +128,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
| 128 |
)
|
| 129 |
|
| 130 |
# Optional way to download the weights
|
| 131 |
-
hf_hub_download(repo_id="neuralvfx/LibreFlux-IP-Adapter
|
| 132 |
filename="ip_adapter.pt",
|
| 133 |
local_dir=".",
|
| 134 |
local_dir_use_symlinks=False)
|
|
|
|
| 114 |
from diffusers import DiffusionPipeline
|
| 115 |
from optimum.quanto import freeze, quantize, qint8
|
| 116 |
|
| 117 |
+
model_id = "neuralvfx/LibreFlux-IP-Adapter-ControlNet"
|
| 118 |
|
| 119 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 120 |
dtype = torch.bfloat16 if device == "cuda" else torch.float32
|
|
|
|
| 128 |
)
|
| 129 |
|
| 130 |
# Optional way to download the weights
|
| 131 |
+
hf_hub_download(repo_id="neuralvfx/LibreFlux-IP-Adapter-ControlNet,
|
| 132 |
filename="ip_adapter.pt",
|
| 133 |
local_dir=".",
|
| 134 |
local_dir_use_symlinks=False)
|