CharlieAmalet commited on
Commit
56d633d
·
verified ·
1 Parent(s): 4585be4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ img {
15
  """
16
 
17
  # DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
18
- MODEL = torch.hub.load('isl-org/ZoeDepth', "ZoeD_N", pretrained=True).eval()
19
 
20
  # ----------- Depth functions
21
  def save_raw_16bit(depth, fpath="raw.png"):
 
15
  """
16
 
17
  # DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
18
+ MODEL = torch.hub.load('isl-org/ZoeDepth', "ZoeD_N", pretrained=True, trust_repo=True).eval()
19
 
20
  # ----------- Depth functions
21
  def save_raw_16bit(depth, fpath="raw.png"):