From 11138a1d97ab5cdb84bb8c71c22e0a1d0698cfc3 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 30 Mar 2023 19:08:10 +0530 Subject: [PATCH] Don't include LoRA in the task info if not used --- ui/media/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/media/js/main.js b/ui/media/js/main.js index d6bc9b01..a03e1e2a 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -20,7 +20,7 @@ const taskConfigSetup = { upscale: { value: ({ reqBody }) => `${reqBody?.use_upscale} (${reqBody?.upscale_amount || 4}x)`, label: 'Upscale', visible: ({ reqBody }) => !!reqBody?.use_upscale }, use_hypernetwork_model: 'Hypernetwork', hypernetwork_strength: { label: 'Hypernetwork Strength', visible: ({ reqBody }) => !!reqBody?.use_hypernetwork_model }, - use_lora_model: 'Lora Model', + use_lora_model: { label: 'Lora Model', visible: ({ reqBody }) => !!reqBody?.use_lora_model }, preserve_init_image_color_profile: 'Preserve Color Profile', }, pluginTaskConfig: {},