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
65923206d6
commit
49c2d15c7a
1 changed files with 1 additions and 0 deletions
|
@ -702,6 +702,7 @@ def search():
|
||||||
gpt = ""
|
gpt = ""
|
||||||
gpt_url = "https://api.openai.com/v1/engines/text-davinci-003/completions"
|
gpt_url = "https://api.openai.com/v1/engines/text-davinci-003/completions"
|
||||||
gpt_headers = {
|
gpt_headers = {
|
||||||
|
"Authorization": "Bearer "+os.environ['GPTKEY'],
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
}
|
}
|
||||||
gpt_data = {
|
gpt_data = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue