[fix] fixed typescript errors in sd
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user