Spaces:
Runtime error
Runtime error
Binlaveloos
commited on
Commit
•
664df21
1
Parent(s):
32fa8d1
hogere kwaliteit modellen
Browse files
app.py
CHANGED
@@ -9,8 +9,12 @@ import os
|
|
9 |
import spaces
|
10 |
import json
|
11 |
|
12 |
-
dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-base-384", device=0)
|
13 |
-
|
|
|
|
|
|
|
|
|
14 |
dpt_large = pipeline(task = "depth-estimation", model="intel/dpt-large", device=0)
|
15 |
|
16 |
def depth_anything_inference(img):
|
|
|
9 |
import spaces
|
10 |
import json
|
11 |
|
12 |
+
#dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-base-384", device=0)
|
13 |
+
dpt_beit = pipeline(task = "depth-estimation", model="Intel/dpt-beit-large-512", device=0)
|
14 |
+
|
15 |
+
#depth_anything = pipeline(task = "depth-estimation", model="nielsr/depth-anything-small", device=0)
|
16 |
+
depth_anything = pipeline(task = "depth-estimation", model="LiheYoung/depth-anything-large-hf", device=0)
|
17 |
+
|
18 |
dpt_large = pipeline(task = "depth-estimation", model="intel/dpt-large", device=0)
|
19 |
|
20 |
def depth_anything_inference(img):
|