[fix] fixed typescript errors in sd

This commit is contained in:
kwaroran
2023-05-08 22:43:11 +09:00
parent 167171b2b7
commit 8c88abe7be
2 changed files with 2 additions and 2 deletions

View File

@@ -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'