MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / load_image

Method load_image

llama_cpp/llama_chat_format.py:3324–3325  ·  view source on GitHub ↗
(self, image_url: str)

Source from the content-addressed store, hash-verified

3322 self._exit_stack.callback(mtmd_free)
3323
3324 def load_image(self, image_url: str) -> bytes:
3325 return self._load_image(image_url)
3326
3327 def _create_bitmap_from_bytes(self, image_bytes: bytes):
3328 if self.mtmd_ctx is None:

Callers 1

__call__Method · 0.95

Calls 1

_load_imageMethod · 0.95

Tested by

no test coverage detected