Update webapp.py
This commit is contained in:
parent
65923206d6
commit
49c2d15c7a
@ -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…
x
Reference in New Issue
Block a user