MCPcopy Create free account
hub / github.com/BIT-DataLab/Edit-Banana / predict

Method predict

sam3_service/client.py:53–56  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

51 self._cursor = itertools.cycle(range(len(self.clients)))
52
53 def predict(self, *args, **kwargs) -> Dict:
54 with self._lock:
55 client_index = next(self._cursor)
56 return self.clients[client_index].predict(*args, **kwargs)
57
58 def health(self) -> Dict[str, bool]:
59 status: Dict[str, bool] = {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected