diff --git a/src/lib/SideBars/Settings.svelte b/src/lib/SideBars/Settings.svelte index 1908a607..40061de8 100644 --- a/src/lib/SideBars/Settings.svelte +++ b/src/lib/SideBars/Settings.svelte @@ -264,7 +264,7 @@ - {#if $DataBase.sdConfig.enable_hr === "true"} + {#if $DataBase.sdConfig.enable_hr === true} denoising_strength hr_scale diff --git a/src/ts/process/stableDiff.ts b/src/ts/process/stableDiff.ts index b8dae838..978bb479 100644 --- a/src/ts/process/stableDiff.ts +++ b/src/ts/process/stableDiff.ts @@ -4,6 +4,7 @@ import { requestChatData } from "./request" import { alertError } from "../alert" import { globalFetch } from "../globalApi" import { CharEmotion } from "../stores" +import type { OpenAIChat } from "." export async function stableDiff(currentChar:character,prompt:string){ @@ -133,7 +134,6 @@ export async function stableDiff(currentChar:character,prompt:string){ "denoising_strength": db.sdConfig.denoising_strength, "hr_scale": db.sdConfig.hr_scale, "hr_upscaler": db.sdConfig.hr_upscaler - 'sampler_name': db.sdConfig.sampler_name }, headers:{ 'Content-Type': 'application/json'