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

Method run_inference

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

Source from the content-addressed store, hash-verified

95 self.pipe = pipe
96
97 def run_inference(self, pipe, args):
98 _ = pipe(
99 prompt=PROMPT,
100 num_inference_steps=args.num_inference_steps,
101 num_images_per_prompt=args.batch_size,
102 )
103
104 def benchmark(self, args):
105 flush()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected