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

Method run_inference

diffusers/benchmarks/base_classes.py:294–300  ·  view source on GitHub ↗
(self, pipe, args)

Source from the content-addressed store, hash-verified

292 self.image = self.image.resize(RESOLUTION_MAPPING[args.ckpt])
293
294 def run_inference(self, pipe, args):
295 _ = pipe(
296 prompt=PROMPT,
297 image=self.image,
298 num_inference_steps=args.num_inference_steps,
299 num_images_per_prompt=args.batch_size,
300 )
301
302
303class ControlNetSDXLBenchmark(ControlNetBenchmark):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected