benjamin-paine commited on
Commit
b6db0db
·
verified ·
1 Parent(s): 67e4c04

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -37,7 +37,7 @@ tiny_vae = Flux2TinyAutoEncoder.from_pretrained(
37
  "fal/FLUX.2-Tiny-AutoEncoder",
38
  ).to(device=device, dtype=torch.bfloat16)
39
 
40
- pil_image = Image.open("pexels.jpg")
41
  image_tensor = F.to_tensor(pil_image)
42
  image_tensor = image_tensor.unsqueeze(0) * 2.0 - 1.0
43
  image_tensor = image_tensor.to(device, dtype=tiny_vae.dtype)
 
37
  "fal/FLUX.2-Tiny-AutoEncoder",
38
  ).to(device=device, dtype=torch.bfloat16)
39
 
40
+ pil_image = Image.open("/path/to/image.png")
41
  image_tensor = F.to_tensor(pil_image)
42
  image_tensor = image_tensor.unsqueeze(0) * 2.0 - 1.0
43
  image_tensor = image_tensor.to(device, dtype=tiny_vae.dtype)