forked from extern/easydiffusion
Fix a bug where the metadata output format wouldn't get sent to the backend
This commit is contained in:
parent
6cd0b530c5
commit
cb81e2aacd
@ -894,6 +894,7 @@ function getCurrentUserRequest() {
|
|||||||
show_only_filtered_image: showOnlyFilteredImageField.checked,
|
show_only_filtered_image: showOnlyFilteredImageField.checked,
|
||||||
output_format: outputFormatField.value,
|
output_format: outputFormatField.value,
|
||||||
output_quality: parseInt(outputQualityField.value),
|
output_quality: parseInt(outputQualityField.value),
|
||||||
|
metadata_output_format: document.querySelector('#metadata_output_format').value,
|
||||||
original_prompt: promptField.value,
|
original_prompt: promptField.value,
|
||||||
active_tags: (activeTags.map(x => x.name))
|
active_tags: (activeTags.map(x => x.name))
|
||||||
}
|
}
|
||||||
|
@ -57,11 +57,15 @@ var PARAMETERS = [
|
|||||||
id: "metadata_output_format",
|
id: "metadata_output_format",
|
||||||
type: ParameterType.select,
|
type: ParameterType.select,
|
||||||
label: "Metadata format",
|
label: "Metadata format",
|
||||||
note: "the metadata will be saved to disk in this format",
|
note: "will be saved to disk in this format",
|
||||||
default: "txt",
|
default: "txt",
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
value: "txt",
|
value: "txt",
|
||||||
|
label: "txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: "json",
|
||||||
label: "json"
|
label: "json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user