Forgor to remove tabs fully
Browse files12 unmodified lines131415161617181920212223242212 unmodified lines return rgb, (depth.clip(0, 64) * 1024).astype("uint16")
starter = gr.Interface(fn=get_depth, inputs=[gr.Interface(fn=get_depth, inputs=[ gr.components.Image(label="rgb", type="pil"),], outputs=[ gr.components.Image(type="pil", label="image"), gr.components.Image(type="numpy", label="depth"),
])
gr.Interface(get_depth).launch(share=True)]).launch(share=True)app.py+2-4