From c1ebd034a14babe60410e8883282149889cef530 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 19 Feb 2023 20:50:16 +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 6859294c6..f9fa16e36 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -733,7 +733,7 @@ def search(): "stream": False } - gpt_response = requests.post(url, headers=gpt_headers, data=json.dumps(gpt_data)) + gpt_response = requests.post(gpt_url, headers=gpt_headers, data=json.dumps(gpt_data)) gpt_json = gpt_response.json() if 'choices' in gpt_json: gpt = gpt_json['choices'][0]['text']