From dff447d61f46538f5d95347dea858bee798ccb03 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 3 Oct 2023 18:45:50 -0400 Subject: [PATCH] clean up Former-commit-id: ac90ce97237bbf52d48a80593117bc6678294f2f --- swarms/agents/multi_modal_visual_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarms/agents/multi_modal_visual_agent.py b/swarms/agents/multi_modal_visual_agent.py index 1f3bde76..05613473 100644 --- a/swarms/agents/multi_modal_visual_agent.py +++ b/swarms/agents/multi_modal_visual_agent.py @@ -922,10 +922,10 @@ class Segmenting: return image - def segment_image_with_click(self, img, is_positive: bool): + def segment_image_with_click(self, img, is_positive: bool) self.sam_predictor.set_image(img) - self.saved_points.append([evt.index[0], evt.index[1]]) + # self.saved_points.append([evt.index[0], evt.index[1]]) self.saved_labels.append(1 if is_positive else 0) input_point = np.array(self.saved_points) input_label = np.array(self.saved_labels)