MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / run_inference

Method run_inference

benchmarks/base_classes.py:259–265  ·  view source on GitHub ↗
(self, pipe, args)

Source from the content-addressed store, hash-verified

257 self.pipe = pipe
258
259 def run_inference(self, pipe, args):
260 _ = pipe(
261 prompt=PROMPT,
262 ip_adapter_image=self.image,
263 num_inference_steps=args.num_inference_steps,
264 num_images_per_prompt=args.batch_size,
265 )
266
267
268class ControlNetBenchmark(TextToImageBenchmark):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected