From 63f7c61e8977b69419eaef1a5be02c6a7ff0c372 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Mon, 26 Feb 2024 12:29:28 -0500 Subject: [PATCH] fix TI appearing as key in prompt --- .../frontend/web/src/features/embedding/EmbeddingSelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/embedding/EmbeddingSelect.tsx b/invokeai/frontend/web/src/features/embedding/EmbeddingSelect.tsx index a5ad358fa09..848cb04386a 100644 --- a/invokeai/frontend/web/src/features/embedding/EmbeddingSelect.tsx +++ b/invokeai/frontend/web/src/features/embedding/EmbeddingSelect.tsx @@ -31,7 +31,7 @@ export const EmbeddingSelect = memo(({ onSelect, onClose }: EmbeddingSelectProps if (!embedding) { return; } - onSelect(embedding.key); + onSelect(embedding.name); }, [onSelect] );