swap around params to make it more readable
Browse files
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,
|
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.
|
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'),
|