remove freeu support

This commit is contained in:
Qing
2024-04-25 22:21:33 +08:00
parent 911f7224b6
commit 017a3d68fd
10 changed files with 33 additions and 326 deletions

View File

@@ -68,8 +68,6 @@ export default async function inpaint(
sd_sampler: settings.sdSampler,
sd_seed: settings.seedFixed ? settings.seed : -1,
sd_match_histograms: settings.sdMatchHistograms,
sd_freeu: settings.enableFreeu,
sd_freeu_config: settings.freeuConfig,
sd_lcm_lora: settings.enableLCMLora,
paint_by_example_example_image: exampleImageBase64,
p2p_image_guidance_scale: settings.p2pImageGuidanceScale,

View File

@@ -7,7 +7,6 @@ import {
AdjustMaskOperate,
CV2Flag,
ExtenderDirection,
FreeuConfig,
LDMSampler,
Line,
LineGroup,
@@ -105,8 +104,6 @@ export type Settings = {
brushnetConditioningScale: number
enableLCMLora: boolean
enableFreeu: boolean
freeuConfig: FreeuConfig
// PowerPaint
powerpaintTask: PowerPaintTask
@@ -316,7 +313,6 @@ const defaultValues: AppState = {
support_outpainting: false,
controlnets: [],
brushnets: [],
support_freeu: false,
support_lcm_lora: false,
is_single_file_diffusers: false,
need_prompt: false,
@@ -352,8 +348,6 @@ const defaultValues: AppState = {
brushnetMethod: "random_mask",
brushnetConditioningScale: 1.0,
enableLCMLora: false,
enableFreeu: false,
freeuConfig: { s1: 0.9, s2: 0.2, b1: 1.2, b2: 1.4 },
powerpaintTask: PowerPaintTask.text_guided,
adjustMaskKernelSize: 12,
},

View File

@@ -51,7 +51,6 @@ export interface ModelInfo {
support_brushnet: boolean
controlnets: string[]
brushnets: string[]
support_freeu: boolean
support_lcm_lora: boolean
need_prompt: boolean
is_single_file_diffusers: boolean
@@ -98,13 +97,6 @@ export interface Rect {
height: number
}
export interface FreeuConfig {
s1: number
s2: number
b1: number
b2: number
}
export interface Point {
x: number
y: number