codic commited on
Commit
a3352df
·
verified ·
1 Parent(s): 97cd0a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -202,7 +202,8 @@ 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=120 )
 
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
+
206
+ @spaces.GPU(enable_queue=True)
207
  def create_3d_obj(foreground, depth_image, image_path, depth=12, edge_strength=0.15):
208
  try:
209
  """