Spaces:
Sleeping
Sleeping
init
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
|
4 |
import torch
|
5 |
from diffusers import AutoencoderTiny
|
6 |
-
from torchvision.transforms.functional import to_pil_image,
|
7 |
|
8 |
device = 'cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu'
|
9 |
|
|
|
3 |
|
4 |
import torch
|
5 |
from diffusers import AutoencoderTiny
|
6 |
+
from torchvision.transforms.functional import to_pil_image, to_tensor
|
7 |
|
8 |
device = 'cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu'
|
9 |
|