Spaces:
Running
on
Zero
Running
on
Zero
Update app add import
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ import torch
|
|
6 |
import torch.nn.functional as F
|
7 |
from torchvision.transforms import Compose
|
8 |
import tempfile
|
|
|
9 |
|
10 |
from depth_anything.dpt import DepthAnything
|
11 |
from depth_anything.util.transform import Resize, NormalizeImage, PrepareForNet
|
|
|
6 |
import torch.nn.functional as F
|
7 |
from torchvision.transforms import Compose
|
8 |
import tempfile
|
9 |
+
import spaces
|
10 |
|
11 |
from depth_anything.dpt import DepthAnything
|
12 |
from depth_anything.util.transform import Resize, NormalizeImage, PrepareForNet
|