mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-19 17:39:16 +02:00
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…
x
Reference in New Issue
Block a user