From c6742fbf228056ad4adfa13493c1beb850ded60f Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Mon, 20 Feb 2023 19:14:08 +0800 Subject: [PATCH] Update webapp.py --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index 19baaa736..9c1799408 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -721,7 +721,7 @@ def search(): gpt = gpt_json['choices'][0]['text'] for word in gpt.split('\n'): if word != "": - gpt = word + gpt = word.replace("\"","").replace("\'","").replace("“","").replace("”","").replace("‘","").replace("’","") break if gpt!="": search_query.query = gpt