JUGGHM commited on
Commit
708c129
1 Parent(s): 430e224

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 == "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
 
 
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