Update app.py
Browse files
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(
|