Refine GPU Resource Allocation for YOLOv11 Inference

#6
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -41,7 +41,6 @@ sahi.utils.file.download_from_url(
41
  # Global model variable
42
  model = None
43
 
44
- @spaces.GPU(duration=60)
45
  def load_yolo_model(model_name, confidence_threshold=0.5):
46
  """
47
  Loads a YOLOv11 detection model.
 
41
  # Global model variable
42
  model = None
43
 
 
44
  def load_yolo_model(model_name, confidence_threshold=0.5):
45
  """
46
  Loads a YOLOv11 detection model.