Update README.md
Browse files
README.md
CHANGED
|
@@ -89,7 +89,7 @@ device = "cuda"
|
|
| 89 |
|
| 90 |
image = torch.from_numpy(
|
| 91 |
np.array(
|
| 92 |
-
Image.open(BytesIO(response.content))
|
| 93 |
)
|
| 94 |
).permute(2, 0, 1).unsqueeze(0).to(torch.float32) / 127.5 - 1
|
| 95 |
image = image.to(device)
|
|
|
|
| 89 |
|
| 90 |
image = torch.from_numpy(
|
| 91 |
np.array(
|
| 92 |
+
Image.open(BytesIO(response.content))
|
| 93 |
)
|
| 94 |
).permute(2, 0, 1).unsqueeze(0).to(torch.float32) / 127.5 - 1
|
| 95 |
image = image.to(device)
|