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

Method run_inference

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

Source from the content-addressed store, hash-verified

156 return filepath
157
158 def run_inference(self, pipe, args):
159 _ = pipe(
160 prompt=PROMPT,
161 num_inference_steps=args.num_inference_steps,
162 num_images_per_prompt=args.batch_size,
163 guidance_scale=1.0,
164 )
165
166 def benchmark(self, args):
167 flush()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected