Spaces:
Runtime error
Runtime error
Commit
·
bcc5aae
1
Parent(s):
f0b3ef2
Update app.py
Browse files
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(type="numpy"
|
| 24 |
-
RightCam = gr.inputs.Image(type="numpy"
|
| 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(type="numpy")
|
| 24 |
+
RightCam = gr.inputs.Image(type="numpy")
|
| 25 |
|
| 26 |
map = gr.Interface(fn=depthMap,
|
| 27 |
inputs=[leftCam,RightCam],
|