1
0
Fork 0

fix imports

This commit is contained in:
Sean Sube 2023-01-29 11:42:42 -06:00
parent 2033cbb601
commit f0c905721f
2 changed files with 2 additions and 3 deletions

View File

@ -88,8 +88,7 @@ def upscale_outpaint(
pipe = load_pipeline(OnnxStableDiffusionInpaintPipeline,
model, params.provider, params.scheduler)
# TODO: take a subset of the full latents
latents = get_tile_latents(full_latents, dims, tile)
latents = get_tile_latents(full_latents, dims)
rng = np.random.RandomState(params.seed)
result = pipe(

View File

@ -7,7 +7,7 @@ from logging import getLogger
from os import path
from PIL import Image
from ..onnx import (
from ..diffusion.pipeline_onnx_stable_diffusion_upscale import (
OnnxStableDiffusionUpscalePipeline,
)
from ..params import (