Skip to content

Commit

Permalink
fix(api): restore inpaint pipeline option
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Apr 15, 2023
1 parent b20df68 commit b076326
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api/onnx_web/diffusers/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
KDPM2DiscreteScheduler,
LMSDiscreteScheduler,
OnnxRuntimeModel,
OnnxStableDiffusionImg2ImgPipeline,
OnnxStableDiffusionInpaintPipeline,
OnnxStableDiffusionPipeline,
PNDMScheduler,
StableDiffusionPipeline,
Expand All @@ -46,11 +48,11 @@

available_pipelines = {
"controlnet": OnnxStableDiffusionControlNetPipeline,
# "img2img": OnnxStableDiffusionImg2ImgPipeline,
# "inpaint": OnnxStableDiffusionInpaintPipeline,
"img2img": OnnxStableDiffusionImg2ImgPipeline,
"inpaint": OnnxStableDiffusionInpaintPipeline,
"lpw": OnnxStableDiffusionLongPromptWeightingPipeline,
"pix2pix": OnnxStableDiffusionInstructPix2PixPipeline,
# "txt2img": OnnxStableDiffusionPipeline,
"txt2img": OnnxStableDiffusionPipeline,
}

pipeline_schedulers = {
Expand Down

0 comments on commit b076326

Please sign in to comment.