remove unused _wrap_results

This commit is contained in:
Lincoln Stein 2023-03-09 16:30:06 -05:00
parent cde0b6ae8d
commit c11e823ff3

View File

@ -158,11 +158,6 @@ class InvokeAIGenerator(metaclass=ABCMeta):
scheduler_name=self.params.scheduler
)
uc, c, extra_conditioning_info = get_uc_and_c_and_ec(prompt,model=model)
def _wrap_results(image: Image, seed: int, **kwargs):
nonlocal results
results.append(output)
generator = self.load_generator(model, self._generator_name())
if self.params.variation_amount > 0:
generator.set_variation(self.params.seed,