From c183702aa4ffa8591c65fbfd132b7a0a0c77a528 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