Update app.py
Browse files14 unmodified lines1516171819202114 unmodified lines"""# DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'MODEL = torch.hub.load('isl-org/ZoeDepth', "ZoeD_N", pretrained=True).eval()# ----------- Depth functionsdef save_raw_16bit(depth, fpath="raw.png"):14 unmodified lines1516171819202114 unmodified lines"""# DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'MODEL = torch.hub.load('isl-org/ZoeDepth', "ZoeD_N", pretrained=True, trust_repo=True).eval()# ----------- Depth functionsdef save_raw_16bit(depth, fpath="raw.png"):
app.py+1-1