yocabon commited on
Commit
1d74503
1 Parent(s): 1812a4b

swap around params to make it more readable

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,7 +84,7 @@ def local_get_reconstructed_scene(filelist, min_conf_thr, matching_conf_thr,
84
  return filestate, outfile
85
 
86
 
87
- def run_example(snapshot, min_conf_thr, matching_conf_thr,as_pointcloud, cam_size, shared_intrinsics, filelist, **kw):
88
  return local_get_reconstructed_scene(filelist, min_conf_thr, matching_conf_thr, as_pointcloud, cam_size, shared_intrinsics, **kw)
89
 
90
  css = """.gradio-container {margin: 0 !important; min-width: 100%};"""
@@ -120,7 +120,7 @@ with gradio.Blocks(css=css, title=title, delete_cache=(gradio_delete_cache, grad
120
  examples=[
121
  [
122
  os.path.join(HERE_PATH, 'mast3r/assets/NLE_tower/FF5599FD-768B-431A-AB83-BDA5FB44CB9D-83120-000041DADDE35483.jpg'),
123
- 1.5, 0.0, True, 0.2, False,
124
  [os.path.join(HERE_PATH, 'mast3r/assets/NLE_tower/01D90321-69C8-439F-B0B0-E87E7634741C-83120-000041DAE419D7AE.jpg'),
125
  os.path.join(
126
  HERE_PATH, 'mast3r/assets/NLE_tower/1AD85EF5-B651-4291-A5C0-7BDB7D966384-83120-000041DADF639E09.jpg'),
 
84
  return filestate, outfile
85
 
86
 
87
+ def run_example(snapshot, matching_conf_thr, min_conf_thr, cam_size, as_pointcloud, shared_intrinsics, filelist, **kw):
88
  return local_get_reconstructed_scene(filelist, min_conf_thr, matching_conf_thr, as_pointcloud, cam_size, shared_intrinsics, **kw)
89
 
90
  css = """.gradio-container {margin: 0 !important; min-width: 100%};"""
 
120
  examples=[
121
  [
122
  os.path.join(HERE_PATH, 'mast3r/assets/NLE_tower/FF5599FD-768B-431A-AB83-BDA5FB44CB9D-83120-000041DADDE35483.jpg'),
123
+ 0.0, 1.5, 0.2, True, False,
124
  [os.path.join(HERE_PATH, 'mast3r/assets/NLE_tower/01D90321-69C8-439F-B0B0-E87E7634741C-83120-000041DAE419D7AE.jpg'),
125
  os.path.join(
126
  HERE_PATH, 'mast3r/assets/NLE_tower/1AD85EF5-B651-4291-A5C0-7BDB7D966384-83120-000041DADF639E09.jpg'),