diff --git a/searx/webapp.py b/searx/webapp.py index c769be587..5368701d8 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -726,6 +726,7 @@ def search(): gpt_json = gpt_response.json() if 'choices' in gpt_json: gpt = gpt_json['choices'][0]['text'] + gpt = gpt.replace("查看食谱","搜索食谱") gpt_judge = [] for tmpj in gpt.split(): try: diff --git a/searx/webapp1.py b/searx/webapp1.py index 13facb720..d80baf32e 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -726,6 +726,7 @@ def search(): gpt_json = gpt_response.json() if 'choices' in gpt_json: gpt = gpt_json['choices'][0]['text'] + gpt = gpt.replace("查看食谱","搜索食谱") gpt_judge = [] for tmpj in gpt.split(): try: