From 50d9b41ec01c6e6f576bf8ef2cc7f353b56c7c8a Mon Sep 17 00:00:00 2001 From: nathan-sixnines Date: Thu, 14 Sep 2023 17:01:31 -0400 Subject: [PATCH] still need this --- examples/server/public/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 802364f6c..966a3753e 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -736,6 +736,16 @@ return html``; }; + const ModelGenerationInfo = (params) => { + if (!llamaStats.value) { + return html`` + } + return html` + + ${llamaStats.value.predicted_per_token_ms.toFixed()}ms per token, ${llamaStats.value.predicted_per_second.toFixed(2)} tokens per second + + ` + } // simple popover impl const Popover = (props) => {