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