forked from extern/easydiffusion
Don't include hypernetwork info in 'copy settings' if using diffusers
This commit is contained in:
parent
4cd8ae45e3
commit
5efabfaea6
@ -529,6 +529,10 @@ function restoreTaskToUI(task, fieldsToSkip) {
|
||||
function readUI() {
|
||||
const reqBody = {}
|
||||
for (const key in TASK_MAPPING) {
|
||||
if (testDiffusers.checked && (key === "use_hypernetwork_model" || key === "hypernetwork_strength")) {
|
||||
continue
|
||||
}
|
||||
|
||||
reqBody[key] = TASK_MAPPING[key].readUI()
|
||||
}
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user