Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ def process_image(image_path, depth_map_path=None):
|
|
| 202 |
img = Image.fromarray(depth_display)
|
| 203 |
return [img, gltf_path, gltf_path]
|
| 204 |
# Clear GPU cache after each iteration
|
| 205 |
-
@spaces.GPU(enable_queue=True,duration=
|
| 206 |
def create_3d_obj(foreground, depth_image, image_path, depth=12, edge_strength=0.15):
|
| 207 |
try:
|
| 208 |
"""
|
|
|
|
| 202 |
img = Image.fromarray(depth_display)
|
| 203 |
return [img, gltf_path, gltf_path]
|
| 204 |
# Clear GPU cache after each iteration
|
| 205 |
+
@spaces.GPU(enable_queue=True,duration=120 )
|
| 206 |
def create_3d_obj(foreground, depth_image, image_path, depth=12, edge_strength=0.15):
|
| 207 |
try:
|
| 208 |
"""
|