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

Method run_inference

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

Source from the content-addressed store, hash-verified

227 self.mask = self.mask.resize(RESOLUTION_MAPPING[args.ckpt])
228
229 def run_inference(self, pipe, args):
230 _ = pipe(
231 prompt=PROMPT,
232 image=self.image,
233 mask_image=self.mask,
234 num_inference_steps=args.num_inference_steps,
235 num_images_per_prompt=args.batch_size,
236 )
237
238
239class IPAdapterTextToImageBenchmark(TextToImageBenchmark):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected