Update webapp.py

This commit is contained in:
Joseph Cheung 2023-02-24 22:16:50 +08:00
parent 65923206d6
commit 49c2d15c7a

View file

@ -702,6 +702,7 @@ def search():
gpt = ""
gpt_url = "https://api.openai.com/v1/engines/text-davinci-003/completions"
gpt_headers = {
"Authorization": "Bearer "+os.environ['GPTKEY'],
"Content-Type": "application/json",
}
gpt_data = {