ameerazam08 commited on
Commit
68968af
1 Parent(s): 8f78e1a

Update gradio_depth_pred.py

Browse files
Files changed (1) hide show
  1. gradio_depth_pred.py +3 -2
gradio_depth_pred.py CHANGED
@@ -23,5 +23,6 @@ def create_demo(model):
23
  raw_depth.save(tmp.name)
24
  return [colored_depth, tmp.name]
25
 
26
- submit.click(on_submit, inputs=[input_image], outputs=[depth_image, raw_file]),
27
- inputs=[input_image])
 
 
23
  raw_depth.save(tmp.name)
24
  return [colored_depth, tmp.name]
25
 
26
+ submit.click(on_submit, inputs=[input_image], outputs=[depth_image, raw_file])
27
+ # examples = gr.Examples(examples=["examples/person_1.jpeg", "examples/person_2.jpeg", "examples/person-leaves.png", "examples/living-room.jpeg"],
28
+ # inputs=[input_image])