mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update webapp.py
This commit is contained in:
parent
cadd979978
commit
c1ebd034a1
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue