mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-14 02:05:21 +02:00
Some more fixes for multi-lora use-these-settings
This commit is contained in:
@ -292,10 +292,6 @@ const TASK_MAPPING = {
|
||||
use_lora_model: {
|
||||
name: "LoRA model",
|
||||
setUI: (use_lora_model) => {
|
||||
if (!use_lora_model) {
|
||||
return
|
||||
}
|
||||
|
||||
let modelPaths = []
|
||||
use_lora_model.forEach((m) => {
|
||||
if (m.includes("models\\lora\\")) {
|
||||
@ -333,10 +329,6 @@ const TASK_MAPPING = {
|
||||
lora_alpha: {
|
||||
name: "LoRA Strength",
|
||||
setUI: (lora_alpha) => {
|
||||
if (!lora_alpha) {
|
||||
return
|
||||
}
|
||||
|
||||
loraModelField.modelWeights = lora_alpha
|
||||
},
|
||||
readUI: () => {
|
||||
|
Reference in New Issue
Block a user