Spaces:
Build error
Build error
lemonaddie
commited on
Commit
•
a4cfff6
1
Parent(s):
045bc76
Update app1.py
Browse files
app1.py
CHANGED
@@ -67,8 +67,8 @@ def process(
|
|
67 |
normal_out_vis = os.path.join(path_output_dir, f"{name_base}_normal_colored.png")
|
68 |
path_out_vis = os.path.join(path_output_dir, f"{name_base}_depth_colored.png")
|
69 |
|
70 |
-
np.save(path_out_fp32, depth_pred)
|
71 |
-
Image.fromarray(normal_out_vis).save(normal_out_vis)
|
72 |
depth_colored.save(path_out_vis)
|
73 |
|
74 |
return (
|
@@ -112,7 +112,7 @@ def run_demo_server(pipe):
|
|
112 |
</a>
|
113 |
</p>
|
114 |
<p align="justify">
|
115 |
-
GeoWizard is a Wizard
|
116 |
Upload your image into the <b>left</b> side.
|
117 |
</p>
|
118 |
"""
|
|
|
67 |
normal_out_vis = os.path.join(path_output_dir, f"{name_base}_normal_colored.png")
|
68 |
path_out_vis = os.path.join(path_output_dir, f"{name_base}_depth_colored.png")
|
69 |
|
70 |
+
#np.save(path_out_fp32, depth_pred)
|
71 |
+
#Image.fromarray(normal_out_vis).save(normal_out_vis)
|
72 |
depth_colored.save(path_out_vis)
|
73 |
|
74 |
return (
|
|
|
112 |
</a>
|
113 |
</p>
|
114 |
<p align="justify">
|
115 |
+
GeoWizard is a Wizard who spells 3D geometry from a single image.
|
116 |
Upload your image into the <b>left</b> side.
|
117 |
</p>
|
118 |
"""
|