fix imports
This commit is contained in:
parent
2033cbb601
commit
f0c905721f
|
@ -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(
|
||||
|
|
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue