Rawal Khirodkar commited on
Commit
e7e18d0
·
1 Parent(s): 2940904

Pointmap: widen 3D viewer to 1.5× the image panes (scales 2/2/3)

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -319,8 +319,8 @@ with gr.Blocks(title="Sapiens2 Pointmap", theme=gr.themes.Soft(), css=CUSTOM_CSS
319
  gr.HTML(HEADER_HTML)
320
 
321
  with gr.Row(equal_height=True):
322
- inp = gr.Image(label="Input", type="pil", height=640)
323
- out_depth = gr.Image(label="Depth (Z)", type="pil", height=640)
324
  out_glb = gr.Model3D(
325
  label="Point cloud",
326
  height=640,
@@ -328,6 +328,7 @@ with gr.Blocks(title="Sapiens2 Pointmap", theme=gr.themes.Soft(), css=CUSTOM_CSS
328
  display_mode="point_cloud",
329
  zoom_speed=0.7,
330
  pan_speed=0.5,
 
331
  )
332
 
333
  with gr.Row():
 
319
  gr.HTML(HEADER_HTML)
320
 
321
  with gr.Row(equal_height=True):
322
+ inp = gr.Image(label="Input", type="pil", height=640, scale=2)
323
+ out_depth = gr.Image(label="Depth (Z)", type="pil", height=640, scale=2)
324
  out_glb = gr.Model3D(
325
  label="Point cloud",
326
  height=640,
 
328
  display_mode="point_cloud",
329
  zoom_speed=0.7,
330
  pan_speed=0.5,
331
+ scale=3,
332
  )
333
 
334
  with gr.Row():