MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / __init__

Method __init__

webarena/browser_env/processors.py:812–815  ·  view source on GitHub ↗
(self, observation_type: str)

Source from the content-addressed store, hash-verified

810
811class ImageObservationProcessor(ObservationProcessor):
812 def __init__(self, observation_type: str):
813 self.observation_type = observation_type
814 self.observation_tag = "image"
815 self.meta_data = create_empty_metadata()
816
817 def process(self, page: Page, client: CDPSession, context: str) -> npt.NDArray[np.uint8]:
818 try:

Callers

nothing calls this directly

Calls 1

create_empty_metadataFunction · 0.85

Tested by

no test coverage detected