Properly reset LoRA selection from Use Settings

This commit is contained in:
patriceac 2023-04-08 18:19:03 -07:00 committed by GitHub
parent 0f4b62cb97
commit 4f2df2d188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ function restoreTaskToUI(task, fieldsToSkip) {
} }
if (!('use_lora_model' in task.reqBody)) { if (!('use_lora_model' in task.reqBody)) {
loraModelField.value = "None" loraModelField.value = ""
loraModelField.dispatchEvent(new Event("change")) loraModelField.dispatchEvent(new Event("change"))
} }