anvilarth commited on
Commit
78986a1
·
verified ·
1 Parent(s): a486839

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -251,7 +251,6 @@ class GradioWindow():
251
  self.concatenated_masks = res
252
  return res, current_object, True
253
 
254
- @spaces.GPU
255
  def detect(self, image: Image, prompt: str, is_segmmask: bool,
256
  box_threshold: float, text_threshold: float):
257
  detections = self.grounding_dino_model.predict_with_classes(
 
251
  self.concatenated_masks = res
252
  return res, current_object, True
253
 
 
254
  def detect(self, image: Image, prompt: str, is_segmmask: bool,
255
  box_threshold: float, text_threshold: float):
256
  detections = self.grounding_dino_model.predict_with_classes(