codic commited on
Commit
379fc1f
·
verified ·
1 Parent(s): 1e8ea34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ except ImportError:
68
  except Exception as e:
69
  print(f"Unexpected error enabling XFormers: {type(e).__name__} - {e}")
70
 
71
- @spaces.GPU(enable_queue=True ,duration=120)
72
  def predict_depth(image: Image.Image):
73
  """Predict depth from an image and return refined depth map."""
74
  try:
 
68
  except Exception as e:
69
  print(f"Unexpected error enabling XFormers: {type(e).__name__} - {e}")
70
 
71
+ @spaces.GPU(enable_queue=True)
72
  def predict_depth(image: Image.Image):
73
  """Predict depth from an image and return refined depth map."""
74
  try: