From 2fccf42c9e9d40838277a2c26d7558806cdf143d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchrisshank=E2=80=9D?= Date: Wed, 11 Dec 2024 15:57:17 -0800 Subject: [PATCH] fix llm demo --- demo/embeddable-llm-with-propagators.html | 11 +++-------- src/folk-timer.ts | 9 +++++++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/demo/embeddable-llm-with-propagators.html b/demo/embeddable-llm-with-propagators.html index 349dadd..370f191 100644 --- a/demo/embeddable-llm-with-propagators.html +++ b/demo/embeddable-llm-with-propagators.html @@ -35,6 +35,7 @@ font-style: italic; font-size: 1rem; text-align: center; + margin: 0; } @@ -80,7 +81,7 @@ - + @@ -94,13 +95,7 @@ expression="prompt: `double this list of ingredients '${from.innerHTML}'`" > - + { this.#timeMs = time; - this.textContent = (time / 1000).toFixed(1); + this.renderRoot.textContent = (time / 1000).toFixed(1); }; }