Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ameerazam08
commited on
Commit
•
8f78e1a
1
Parent(s):
48e846c
Update gradio_depth_pred.py
Browse files- gradio_depth_pred.py +1 -2
gradio_depth_pred.py
CHANGED
@@ -23,6 +23,5 @@ 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 |
-
examples = gr.Examples(examples=["examples/person_1.jpeg", "examples/person_2.jpeg", "examples/person-leaves.png", "examples/living-room.jpeg"],
|
28 |
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 |
inputs=[input_image])
|