feat: support upscaled image generation with esrgan

This allows to generate images larger than 512x512 by using esrgan.
Behind the scenes consumes
https://github.com/fengwang/Stable-Diffusion-NCNN/.

Note this needs model assets similar to those you can find
https://github.com/fengwang/Stable-Diffusion-NCNN/.
This commit is contained in:
mudler 2023-06-05 14:25:04 +02:00
parent b503725dc7
commit 4d83ec5b02
3 changed files with 14 additions and 2 deletions

2
go.mod
View file

@ -14,7 +14,7 @@ require (
github.com/google/uuid v1.3.0
github.com/hashicorp/go-multierror v1.1.1
github.com/imdario/mergo v0.3.16
github.com/mudler/go-stable-diffusion v0.0.0-20230516152536-c0748eca3642
github.com/mudler/go-stable-diffusion v0.0.0-20230605114250-a6706a426a90
github.com/nomic-ai/gpt4all/gpt4all-bindings/golang v0.0.0-20230604125924-bbe195ee0207
github.com/onsi/ginkgo/v2 v2.9.7
github.com/onsi/gomega v1.27.7