zino36 commited on
Commit
bdf707d
·
verified ·
1 Parent(s): bc1d278

Update app.py

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