Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ tiny_vae = Flux2TinyAutoEncoder.from_pretrained_flashpack(
|
|
| 38 |
device=device,
|
| 39 |
)
|
| 40 |
|
| 41 |
-
pil_image = Image.open("
|
| 42 |
image_tensor = F.to_tensor(pil_image)
|
| 43 |
image_tensor = image_tensor.unsqueeze(0) * 2.0 - 1.0
|
| 44 |
image_tensor = image_tensor.to(device, dtype=tiny_vae.dtype)
|
|
|
|
| 38 |
device=device,
|
| 39 |
)
|
| 40 |
|
| 41 |
+
pil_image = Image.open("/path/to/image.png")
|
| 42 |
image_tensor = F.to_tensor(pil_image)
|
| 43 |
image_tensor = image_tensor.unsqueeze(0) * 2.0 - 1.0
|
| 44 |
image_tensor = image_tensor.to(device, dtype=tiny_vae.dtype)
|