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

Method unload

modules/icon_picture_processor.py:223–226  ·  view source on GitHub ↗

Release model resources.

(self)

Source from the content-addressed store, hash-verified

221 return self.predict(image)
222
223 def unload(self):
224 """Release model resources."""
225 self._session = None
226 self._is_loaded = False
227
228# ======================== Icon/Picture processor ========================
229class IconPictureProcessor(BaseProcessor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected