ostapagon commited on
Commit
82b4450
·
1 Parent(s): 4d9f641

Upgrade gradio

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. demo/mast3r_demo.py +3 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 😻
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 4.44.1
8
  pinned: false
9
  app_file: app.py
10
  ---
 
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 5.12.0
8
  pinned: false
9
  app_file: app.py
10
  ---
demo/mast3r_demo.py CHANGED
@@ -325,6 +325,7 @@ def mast3r_demo_tab():
325
  inputs=[snapshot, scene, min_conf_thr, matching_conf_thr, cam_size, as_pointcloud, shared_intrinsics, clean_depth, inputfiles],
326
  outputs=[scene, outmodel],
327
  fn=get_reconstructed_scene,
 
328
  )
329
  examples = gradio.Examples(
330
  examples=[
@@ -338,6 +339,7 @@ def mast3r_demo_tab():
338
  inputs=[snapshot, scene, min_conf_thr, matching_conf_thr, cam_size, as_pointcloud, shared_intrinsics, clean_depth, inputfiles],
339
  outputs=[scene, outmodel],
340
  fn=get_reconstructed_scene,
 
341
  )
342
  examples = gradio.Examples(
343
  examples=[
@@ -351,6 +353,7 @@ def mast3r_demo_tab():
351
  inputs=[snapshot, scene, min_conf_thr, matching_conf_thr, cam_size, as_pointcloud, shared_intrinsics, clean_depth, inputfiles],
352
  outputs=[scene, outmodel],
353
  fn=get_reconstructed_scene,
 
354
  )
355
 
356
 
 
325
  inputs=[snapshot, scene, min_conf_thr, matching_conf_thr, cam_size, as_pointcloud, shared_intrinsics, clean_depth, inputfiles],
326
  outputs=[scene, outmodel],
327
  fn=get_reconstructed_scene,
328
+ run_on_click=True,
329
  )
330
  examples = gradio.Examples(
331
  examples=[
 
339
  inputs=[snapshot, scene, min_conf_thr, matching_conf_thr, cam_size, as_pointcloud, shared_intrinsics, clean_depth, inputfiles],
340
  outputs=[scene, outmodel],
341
  fn=get_reconstructed_scene,
342
+ run_on_click=True,
343
  )
344
  examples = gradio.Examples(
345
  examples=[
 
353
  inputs=[snapshot, scene, min_conf_thr, matching_conf_thr, cam_size, as_pointcloud, shared_intrinsics, clean_depth, inputfiles],
354
  outputs=[scene, outmodel],
355
  fn=get_reconstructed_scene,
356
+ run_on_click=True,
357
  )
358
 
359