Forgor to remove tabs fully
Browse files12 unmodified lines13141516171819202122232412 unmodified linesreturn rgb, (depth.clip(0, 64) * 1024).astype("uint16")starter = 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)12 unmodified lines1314151617181920212212 unmodified linesreturn rgb, (depth.clip(0, 64) * 1024).astype("uint16")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"),]).launch(share=True)
app.py+2-4