Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
747086f
1
Parent(s):
d7bf388
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
torch.hub.download_url_to_file('https://images.unsplash.com/photo-1437622368342-7a3d73a34c8f', 'turtle.jpg')
|
8 |
torch.hub.download_url_to_file('https://images.unsplash.com/photo-1519066629447-267fffa62d4b', 'lions.jpg')
|
9 |
|
10 |
-
midas = torch.hub.load("intel-isl/MiDaS
|
11 |
|
12 |
use_large_model = True
|
13 |
|
|
|
7 |
torch.hub.download_url_to_file('https://images.unsplash.com/photo-1437622368342-7a3d73a34c8f', 'turtle.jpg')
|
8 |
torch.hub.download_url_to_file('https://images.unsplash.com/photo-1519066629447-267fffa62d4b', 'lions.jpg')
|
9 |
|
10 |
+
midas = torch.hub.load("intel-isl/MiDaS", "MiDaS")
|
11 |
|
12 |
use_large_model = True
|
13 |
|