nev commited on
Commit
d16f22f
·
1 Parent(s): 408dcf8

Forgor to remove tabs fully

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -13,12 +13,10 @@ def get_depth(rgb):
13
  return rgb, (depth.clip(0, 64) * 1024).astype("uint16")
14
 
15
 
16
- starter = gr.Interface(fn=get_depth, inputs=[
17
  gr.components.Image(label="rgb", type="pil"),
18
  ], outputs=[
19
  gr.components.Image(type="pil", label="image"),
20
  gr.components.Image(type="numpy", label="depth"),
21
 
22
- ])
23
-
24
- gr.Interface(get_depth).launch(share=True)
 
13
  return rgb, (depth.clip(0, 64) * 1024).astype("uint16")
14
 
15
 
16
+ gr.Interface(fn=get_depth, inputs=[
17
  gr.components.Image(label="rgb", type="pil"),
18
  ], outputs=[
19
  gr.components.Image(type="pil", label="image"),
20
  gr.components.Image(type="numpy", label="depth"),
21
 
22
+ ]).launch(share=True)