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


![image](https://github.com/user-attachments/assets/3708be6a-8b04-41f4-9bf0-c2cb4af9e29c)

### After


![image](https://github.com/user-attachments/assets/df3fcf2b-b8e1-4594-ab7e-5f0d8cdcc88c)
This commit is contained in:
kwaroran
2025-05-18 17:15:57 +09:00
committed by GitHub
2 changed files with 1 additions and 16 deletions

View File

@@ -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",