Update app.py
Browse files
app.py
CHANGED
|
@@ -192,7 +192,6 @@ def create_3d_obj(foreground, depth_image, image_path, depth=12, edge_strength=0
|
|
| 192 |
o3d.io.write_triangle_mesh(gltf_path, mesh_crop, write_triangle_uvs=True)
|
| 193 |
|
| 194 |
return gltf_path
|
| 195 |
-
|
| 196 |
# Gradio Interface
|
| 197 |
title = "Depth Estimation & 3D Reconstruction Demo"
|
| 198 |
description = "Upload an image and optionally a depth map (in .npy or image format) to generate a 3D model. If no depth map is provided, the DPT model will generate it."
|
|
|
|
| 192 |
o3d.io.write_triangle_mesh(gltf_path, mesh_crop, write_triangle_uvs=True)
|
| 193 |
|
| 194 |
return gltf_path
|
|
|
|
| 195 |
# Gradio Interface
|
| 196 |
title = "Depth Estimation & 3D Reconstruction Demo"
|
| 197 |
description = "Upload an image and optionally a depth map (in .npy or image format) to generate a 3D model. If no depth map is provided, the DPT model will generate it."
|