1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Add experimental bislerp algorithm for latent upscaling.

It's like bilinear but with slerp.
This commit is contained in:
comfyanonymous
2023-05-23 03:12:56 -04:00
parent 48fcc5b777
commit 34887b8885
2 changed files with 65 additions and 2 deletions

View File

@@ -749,7 +749,7 @@ class RepeatLatentBatch:
return (s,)
class LatentUpscale:
upscale_methods = ["nearest-exact", "bilinear", "area"]
upscale_methods = ["nearest-exact", "bilinear", "area", "bislerp"]
crop_methods = ["disabled", "center"]
@classmethod