Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def predict_depth(model, image):
|
|
19 |
return model(image)["depth"]
|
20 |
|
21 |
@spaces.GPU
|
22 |
-
def make_video(video_path, outdir='./vis_video_depth', encoder):
|
23 |
if encoder not in ["vitl","vitb","vits"]:
|
24 |
encoder = "vits"
|
25 |
|
|
|
19 |
return model(image)["depth"]
|
20 |
|
21 |
@spaces.GPU
|
22 |
+
def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
|
23 |
if encoder not in ["vitl","vitb","vits"]:
|
24 |
encoder = "vits"
|
25 |
|