Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def generate_depth_image(input_image):
|
|
| 23 |
depth = Image.fromarray(formatted)
|
| 24 |
return depth
|
| 25 |
|
| 26 |
-
demo = gr.Interface(title = "Depth Estimation of the Detected Objects in the Image - Test & Demo
|
| 27 |
-
description='Upload an image
|
| 28 |
fn = generate_depth_image, inputs=gr.Image(type='pil'), outputs=gr.Image(type='pil'))
|
| 29 |
demo.launch(share=True,debug=True)
|
|
|
|
| 23 |
depth = Image.fromarray(formatted)
|
| 24 |
return depth
|
| 25 |
|
| 26 |
+
demo = gr.Interface(title = "Depth Estimation of the Detected Objects in the Image - Test & Demo App by Srinivas.v..",
|
| 27 |
+
description='Upload an image that has some vivid foreground objects and submit',
|
| 28 |
fn = generate_depth_image, inputs=gr.Image(type='pil'), outputs=gr.Image(type='pil'))
|
| 29 |
demo.launch(share=True,debug=True)
|