Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,12 +66,12 @@ def main():
|
|
66 |
cmd = cmd + " --use-natural"
|
67 |
|
68 |
out_dir = (save_dir / Path(img_path).name).with_suffix("")
|
69 |
-
mesh_path = out_dir / "us.
|
70 |
|
71 |
if not mesh_path.is_file():
|
72 |
subprocess.call(cmd.split())
|
73 |
|
74 |
-
return mesh_path
|
75 |
|
76 |
examples = []
|
77 |
for img_path in Path("./data/images").glob("*"):
|
|
|
66 |
cmd = cmd + " --use-natural"
|
67 |
|
68 |
out_dir = (save_dir / Path(img_path).name).with_suffix("")
|
69 |
+
mesh_path = out_dir / "us.obj"
|
70 |
|
71 |
if not mesh_path.is_file():
|
72 |
subprocess.call(cmd.split())
|
73 |
|
74 |
+
return str(mesh_path)
|
75 |
|
76 |
examples = []
|
77 |
for img_path in Path("./data/images").glob("*"):
|