Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -200,7 +200,6 @@ def predict_depth(image: Image.Image):
|
|
| 200 |
print(f"Error in depth prediction or processing: {type(e).__name__} - {e}")
|
| 201 |
return None, None
|
| 202 |
|
| 203 |
-
@spaces.GPU(enable_queue=True)
|
| 204 |
def get_mesh(image: Image.Image, depth, image_path: str, foreground: np.ndarray):
|
| 205 |
"""Generate a 3D mesh with high-resolution texturing from the depth map."""
|
| 206 |
try:
|
|
|
|
| 200 |
print(f"Error in depth prediction or processing: {type(e).__name__} - {e}")
|
| 201 |
return None, None
|
| 202 |
|
|
|
|
| 203 |
def get_mesh(image: Image.Image, depth, image_path: str, foreground: np.ndarray):
|
| 204 |
"""Generate a 3D mesh with high-resolution texturing from the depth map."""
|
| 205 |
try:
|