mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 17:55:09 +01:00
Expose the metadata format option in the UI
This commit is contained in:
parent
b57649828d
commit
d0e50584ea
@ -38,6 +38,7 @@ const SETTINGS_IDS_LIST = [
|
|||||||
"sound_toggle",
|
"sound_toggle",
|
||||||
"turbo",
|
"turbo",
|
||||||
"confirm_dangerous_actions",
|
"confirm_dangerous_actions",
|
||||||
|
"metadata_output_format",
|
||||||
"auto_save_settings",
|
"auto_save_settings",
|
||||||
"apply_color_correction"
|
"apply_color_correction"
|
||||||
]
|
]
|
||||||
|
@ -53,6 +53,19 @@ var PARAMETERS = [
|
|||||||
return `<input id="${parameter.id}" name="${parameter.id}" size="30" disabled>`
|
return `<input id="${parameter.id}" name="${parameter.id}" size="30" disabled>`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "metadata_output_format",
|
||||||
|
type: ParameterType.select,
|
||||||
|
label: "Metadata format",
|
||||||
|
note: "the metadata will be saved to disk in this format",
|
||||||
|
default: "txt",
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
value: "txt",
|
||||||
|
label: "json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "sound_toggle",
|
id: "sound_toggle",
|
||||||
type: ParameterType.checkbox,
|
type: ParameterType.checkbox,
|
||||||
|
Loading…
Reference in New Issue
Block a user