From a06fd8a48753094ec79994122fa31cf35c95b138 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Wed, 12 Apr 2023 11:39:43 -0400 Subject: [PATCH] Provide a busy indicator if we're processing a long prompt and make the stop button work in the middle of processing a long prompt as well. --- gptj.cpp | 3 +++ llm.cpp | 7 +++++-- main.qml | 11 ++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/gptj.cpp b/gptj.cpp index 9a7720bc..aa7db13e 100644 --- a/gptj.cpp +++ b/gptj.cpp @@ -707,6 +707,9 @@ void GPTJ::prompt(const std::string &prompt, std::function