Spaces:
Sleeping
Sleeping
Commit
·
9c7b1ec
1
Parent(s):
6268899
Update app.py
Browse files
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=
|
23 |
-
#demo
|
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()
|
|