Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from transformers import DPTFeatureExtractor, DPTForDepthEstimation
|
|
3 |
import torch
|
4 |
import numpy as np
|
5 |
import cv2
|
|
|
6 |
|
7 |
torch.hub.download_url_to_file('http://images.cocodataset.org/val2017/000000039769.jpg', 'cats.jpg')
|
8 |
|
|
|
3 |
import torch
|
4 |
import numpy as np
|
5 |
import cv2
|
6 |
+
from PIL import Image
|
7 |
|
8 |
torch.hub.download_url_to_file('http://images.cocodataset.org/val2017/000000039769.jpg', 'cats.jpg')
|
9 |
|