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
2ba967f1c0
commit
3a423887c9
1 changed files with 101 additions and 98 deletions
|
@ -746,6 +746,7 @@ def search():
|
|||
number_of_results = 0
|
||||
|
||||
# OPENAI GPT
|
||||
try:
|
||||
url_pair = {}
|
||||
prompt = ""
|
||||
for res in results:
|
||||
|
@ -847,6 +848,8 @@ def search():
|
|||
'content': gpt,
|
||||
}
|
||||
result_container.infoboxes.append(gptbox)
|
||||
except Exception as ee:
|
||||
logger.exception(ee, exc_info=True)
|
||||
|
||||
|
||||
# checkin for a external bang
|
||||
|
|
Loading…
Add table
Reference in a new issue