CharlieAmalet commited on
Commit
07dbe58
·
verified ·
1 Parent(s): 212d34e

Update app.py

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