zino36 commited on
Commit
3e18fa7
·
verified ·
1 Parent(s): 102f5a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ with gr.Blocks(css=css) as demo:
85
 
86
  h, w = image.shape[:2]
87
 
88
- depth = predict_depth(image[:, :, ::-1])
89
 
90
  raw_depth = Image.fromarray(depth.astype('uint16'))
91
  tmp_raw_depth = tempfile.NamedTemporaryFile(suffix='.png', delete=False)
 
85
 
86
  h, w = image.shape[:2]
87
 
88
+ depth = predict_depth(image)
89
 
90
  raw_depth = Image.fromarray(depth.astype('uint16'))
91
  tmp_raw_depth = tempfile.NamedTemporaryFile(suffix='.png', delete=False)