Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -51,10 +51,10 @@ model_large.to(device)
|
|
51 |
model_small.to(device)
|
52 |
|
53 |
def depth_normal(img, model_selection="vit-small"):
|
54 |
-
if model_selection == "
|
55 |
model = model_small
|
56 |
cfg = cfg_small
|
57 |
-
elif model_selection == "
|
58 |
model = model_large
|
59 |
cfg = cfg_large
|
60 |
|
|
|
51 |
model_small.to(device)
|
52 |
|
53 |
def depth_normal(img, model_selection="vit-small"):
|
54 |
+
if model_selection == "vit-small":
|
55 |
model = model_small
|
56 |
cfg = cfg_small
|
57 |
+
elif model_selection == "vit-large":
|
58 |
model = model_large
|
59 |
cfg = cfg_large
|
60 |
|