yuragoithf commited on
Commit
9c7b1ec
·
1 Parent(s): 6268899

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -17,8 +17,9 @@ def rb(img):
17
 
18
 
19
  inputs = gr.inputs.Image(type="pil", label="Upload an image")
 
 
20
 
21
-
22
- demo = gr.Interface(fn=estimator, inputs=inputs, outputs="json")
23
- #demo = gr.Interface(fn=rb, inputs=inputs, outputs=result["depth"])
24
- demo.launch()
 
17
 
18
 
19
  inputs = gr.inputs.Image(type="pil", label="Upload an image")
20
+ result = rb(inputs)
21
+ result["depth"]
22
 
23
+ # demo = gr.Interface(fn=estimator, inputs=inputs, outputs="json")
24
+ # #demo = gr.Interface(fn=rb, inputs=inputs, outputs=result["depth"])
25
+ # demo.launch()