Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def create_video(frames, fps, type):
|
|
46 |
def predict_depth(model, image):
|
47 |
return model(image)["depth"]
|
48 |
|
49 |
-
|
50 |
def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
|
51 |
if encoder not in ["vitl","vitb","vits"]:
|
52 |
encoder = "vits"
|
|
|
46 |
def predict_depth(model, image):
|
47 |
return model(image)["depth"]
|
48 |
|
49 |
+
#@spaces.GPU
|
50 |
def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
|
51 |
if encoder not in ["vitl","vitb","vits"]:
|
52 |
encoder = "vits"
|