(self, pipe, args)
| 206 | super().__init__(args) |
| 207 | |
| 208 | def run_inference(self, pipe, args): |
| 209 | _ = pipe( |
| 210 | prompt=PROMPT, |
| 211 | image=self.image, |
| 212 | num_inference_steps=args.num_inference_steps, |
| 213 | num_images_per_prompt=args.batch_size, |
| 214 | guidance_scale=0.0, |
| 215 | strength=0.5, |
| 216 | ) |
| 217 | |
| 218 | |
| 219 | class InpaintingBenchmark(ImageToImageBenchmark): |
nothing calls this directly
no outgoing calls
no test coverage detected