Update webapp.py

This commit is contained in:
Joseph Cheung 2023-02-20 21:16:40 +08:00
parent 2ba967f1c0
commit 3a423887c9

View file

@ -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