shireenchand commited on
Commit
6b9aacc
·
1 Parent(s): e21f1c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ def depthMap(imgL,imgR):
20
  disparity = gray(disparity)[:, :, :3]
21
  return disparity
22
 
23
- leftCam = gr.inputs.Image(shape=(224, 224), source="webcam")
24
- RightCam = gr.inputs.Image(shape=(224, 224), source="webcam")
25
 
26
  map = gr.Interface(fn=depthMap,
27
  inputs=[leftCam,RightCam],
 
20
  disparity = gray(disparity)[:, :, :3]
21
  return disparity
22
 
23
+ leftCam = gr.inputs.Image(shape=(224, 224))
24
+ RightCam = gr.inputs.Image(shape=(224, 224))
25
 
26
  map = gr.Interface(fn=depthMap,
27
  inputs=[leftCam,RightCam],