fix: remove dupilacted nai settings input (#850)
# PR Checklist - [ ] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [ ] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [ ] Have you added type definitions? # Description Removed duplicated nai settings inputs for `noise_schedule` and `cfg_rescale`. ### Before  ### After 
This commit is contained in:
@@ -310,9 +310,6 @@ export function setDatabase(data:Database){
|
||||
legacy_uc:false,
|
||||
};
|
||||
}
|
||||
if(checkNullish(data.NAIImgConfig.cfg_rescale)){
|
||||
data.NAIImgConfig.cfg_rescale = 0;
|
||||
}
|
||||
if(checkNullish(data.customTextTheme)){
|
||||
data.customTextTheme = {
|
||||
FontColorStandard: "#f8f8f2",
|
||||
|
||||
Reference in New Issue
Block a user