From 5d22785e5ae1bcba2eec5e7e5bfb433081be343b Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Wed, 29 Mar 2023 18:57:37 +0900 Subject: [PATCH] fix typo in predict.py refleshing -> refreshing --- predict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predict.py b/predict.py index 90d360b..55a25e6 100644 --- a/predict.py +++ b/predict.py @@ -176,7 +176,7 @@ def predict(inputs, top_p, temperature, chatbot=[], history=[], system_prompt='' chunk = get_full_error(chunk, stream_response) error_msg = chunk.decode() if "reduce the length" in error_msg: - chatbot[-1] = (chatbot[-1][0], "[Local Message] Input (or history) is too long, please reduce input or clear history by refleshing this page.") + chatbot[-1] = (chatbot[-1][0], "[Local Message] Input (or history) is too long, please reduce input or clear history by refreshing this page.") history = [] elif "Incorrect API key" in error_msg: chatbot[-1] = (chatbot[-1][0], "[Local Message] Incorrect API key provided.")