Spaces:
Running
on
Zero
Running
on
Zero
Update import order
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
import cv2
|
3 |
from PIL import Image
|
4 |
import numpy as np
|
@@ -9,7 +10,6 @@ import torch.nn.functional as F
|
|
9 |
from torchvision import transforms
|
10 |
from torchvision.transforms import Compose
|
11 |
import tempfile
|
12 |
-
import spaces
|
13 |
|
14 |
from depth_anything.dpt import DepthAnything
|
15 |
from depth_anything.util.transform import Resize, NormalizeImage, PrepareForNet
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
import cv2
|
4 |
from PIL import Image
|
5 |
import numpy as np
|
|
|
10 |
from torchvision import transforms
|
11 |
from torchvision.transforms import Compose
|
12 |
import tempfile
|
|
|
13 |
|
14 |
from depth_anything.dpt import DepthAnything
|
15 |
from depth_anything.util.transform import Resize, NormalizeImage, PrepareForNet
|