mmmno commited on
Commit
340e27e
·
verified ·
1 Parent(s): 2339824

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,7 +9,8 @@ import os
9
 
10
  # 1. Load Model
11
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
12
- checkpoint = "depth-anything/Depth-Anything-V2-Small-hf"
 
13
  processor = AutoImageProcessor.from_pretrained(checkpoint)
14
  model = AutoModelForDepthEstimation.from_pretrained(checkpoint).to(DEVICE)
15
 
 
9
 
10
  # 1. Load Model
11
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
12
+ # Change this line in your app.py
13
+ checkpoint = "depth-anything/Depth-Anything-V3-Small"
14
  processor = AutoImageProcessor.from_pretrained(checkpoint)
15
  model = AutoModelForDepthEstimation.from_pretrained(checkpoint).to(DEVICE)
16