From 53b835945ffe9d6562e65e9e4b377a1fde62ac39 Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Thu, 28 Dec 2023 11:05:19 +1100 Subject: [PATCH] Updated with ruff formatting --- invokeai/backend/model_management/lora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/backend/model_management/lora.py b/invokeai/backend/model_management/lora.py index 066381ac53..f5d66ca51a 100644 --- a/invokeai/backend/model_management/lora.py +++ b/invokeai/backend/model_management/lora.py @@ -217,7 +217,7 @@ class ModelPatcher: for ti_name, ti in ti_list: ti_embedding = _get_ti_embedding(text_encoder.get_input_embeddings(), ti) - + ti_tokens = [] for i in range(ti_embedding.shape[0]): embedding = ti_embedding[i]