1
0
Fork 0

lint(api): remove extra print

This commit is contained in:
Sean Sube 2023-01-08 00:23:01 -06:00
parent 6442e68e67
commit a6af9752f8
1 changed files with 0 additions and 2 deletions

View File

@ -98,7 +98,6 @@ def load_pipeline(pipeline, model, provider, scheduler):
pipe = last_pipeline_instance
else:
print('loading different pipeline')
# pipe = OnnxStableDiffusionPipeline.from_pretrained(
pipe = pipeline.from_pretrained(
model,
provider=provider,
@ -221,7 +220,6 @@ def img2img():
input_image.thumbnail((default_width, default_height))
strength = float(request.args.get('strength', 0.8))
print('strength: %s' % (strength))
(model, provider, scheduler, prompt, cfg, steps, height,
width, seed, pipe) = pipeline_from_request(OnnxStableDiffusionImg2ImgPipeline)