Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ def input_to_glb(outdir,img,depth_dict,mask,rotated=False):
|
|
166 |
def depth_moge(input_img):
|
167 |
|
168 |
input_img_torch = torch.tensor(input_img / 255, dtype=torch.float32, device=device).permute(2, 0, 1)
|
169 |
-
output = moge_model.infer(input_img_torch)
|
170 |
return output
|
171 |
|
172 |
@GPU(duration = 180)
|
|
|
166 |
def depth_moge(input_img):
|
167 |
|
168 |
input_img_torch = torch.tensor(input_img / 255, dtype=torch.float32, device=device).permute(2, 0, 1)
|
169 |
+
output = moge_model.infer(input_img_torch)
|
170 |
return output
|
171 |
|
172 |
@GPU(duration = 180)
|