MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __init__

Method __init__

diffusers/benchmarks/base_classes.py:191–193  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

189 image = load_image(url).convert("RGB")
190
191 def __init__(self, args):
192 super().__init__(args)
193 self.image = self.image.resize(RESOLUTION_MAPPING[args.ckpt])
194
195 def run_inference(self, pipe, args):
196 _ = pipe(

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected