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
8ae80a3b73
commit
d140839da7
1 changed files with 1 additions and 1 deletions
|
@ -845,7 +845,7 @@ def search():
|
|||
background: rgba(211, 173, 209, 0.4);
|
||||
}
|
||||
</style>
|
||||
''' + '<div id="prompt" style="display:none">' + str(base64.b64encode(gpt.encode("utf-8"))) + '</div>'
|
||||
''' + '<div id="prompt" style="display:none">' + (base64.b64encode(gpt.encode("utf-8")).decode('UTF-8') ) + '</div>'
|
||||
# gpt_response = requests.post(gpt_url, headers=gpt_headers, data=json.dumps(gpt_data))
|
||||
# gpt_json = gpt_response.json()
|
||||
# if 'choices' in gpt_json:
|
||||
|
|
Loading…
Add table
Reference in a new issue