From bcd4641a44c53111059552fe32d0f7cf7f32f0db Mon Sep 17 00:00:00 2001 From: Cyberhan123 <255542417@qq.com> Date: Fri, 12 Jan 2024 19:45:16 +0800 Subject: [PATCH] reset sd.go version --- app.go | 2 +- frontend/package.json.md5 | 2 +- go.mod | 2 +- go.sum | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app.go b/app.go index 7a638c5..7b8ab5f 100644 --- a/app.go +++ b/app.go @@ -34,7 +34,7 @@ func NewApp() *App { options.GpuEnable = false } options.FreeParamsImmediately = false - options.Threads = goruntime.NumCPU() + options.Threads = goruntime.NumCPU() - 2 // 2 threads for rest of the system return &App{ options: &options, } diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 37b9923..b25ca1d 100644 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -7bf71b5bfcacc78a6f1e620adc62bfb9 \ No newline at end of file +90614e40a5db2d1298880b27936688a9 \ No newline at end of file diff --git a/go.mod b/go.mod index 32a482f..1dd3159 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.4 require ( - github.com/seasonjs/stable-diffusion v0.1.1 + github.com/seasonjs/stable-diffusion v0.1.2 github.com/wailsapp/wails/v2 v2.7.1 ) diff --git a/go.sum b/go.sum index 5a563a1..809d110 100644 --- a/go.sum +++ b/go.sum @@ -47,6 +47,8 @@ github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA= github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= github.com/seasonjs/stable-diffusion v0.1.1 h1:KManSoV7113HYyLlFJw6BWFwNi2qOBmxT1n5eBTCD6k= github.com/seasonjs/stable-diffusion v0.1.1/go.mod h1:NZFm+33eOcIwZB49I+7R7Na+EUSjcTyYU/5BG8Utqv8= +github.com/seasonjs/stable-diffusion v0.1.2 h1:ua98QpHI7W1uM3PswHlqS8QBc0tbT8/9h/EB8/Rcicc= +github.com/seasonjs/stable-diffusion v0.1.2/go.mod h1:NZFm+33eOcIwZB49I+7R7Na+EUSjcTyYU/5BG8Utqv8= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE=