Spaces:
Configuration error
Configuration error
Commit
·
89a1445
1
Parent(s):
45809a6
update
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ import torch.nn.functional as F
|
|
| 13 |
from torchvision.transforms import Compose
|
| 14 |
import tempfile
|
| 15 |
from gradio_imageslider import ImageSlider
|
| 16 |
-
from .depth_anything.dpt import DepthAnything
|
| 17 |
-
from .depth_anything.util.transform import Resize, NormalizeImage, PrepareForNet
|
| 18 |
|
| 19 |
NUM_INFERENCE_STEPS = 50
|
| 20 |
dtype = torch.float16
|
|
|
|
| 13 |
from torchvision.transforms import Compose
|
| 14 |
import tempfile
|
| 15 |
from gradio_imageslider import ImageSlider
|
| 16 |
+
from .depth_anything.depth_anything.dpt import DepthAnything
|
| 17 |
+
from .depth_anything.depth_anything.util.transform import Resize, NormalizeImage, PrepareForNet
|
| 18 |
|
| 19 |
NUM_INFERENCE_STEPS = 50
|
| 20 |
dtype = torch.float16
|