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