Add Clip Skip to metadata files

Also, force the properties to be in a consistent order so that, for example, LoRA strength will always be the line below LoRA model. I've rearranged the properties so that they are saved in the same order that the properties are laid out in the UI
This commit is contained in:
Olivia Godone-Maresca
2023-05-19 19:05:32 -04:00
parent bdf36a8dab
commit a6dbdf664b
3 changed files with 39 additions and 36 deletions

View File

@ -37,6 +37,7 @@ function parseBoolean(stringValue) {
}
}
// keep in sync with `ui/easydiffusion/utils/save_utils.py`
const TASK_MAPPING = {
prompt: {
name: "Prompt",