Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ async def chat(query,history,sources,reports):
|
|
126 |
answer_lst = []
|
127 |
for question, context in zip(question_lst , context_retrieved_lst):
|
128 |
answer = chain.invoke(messages)
|
129 |
-
answer_lst.append(answer
|
130 |
docs_html = []
|
131 |
for i, d in enumerate(context_retrieved, 1):
|
132 |
docs_html.append(make_html_source(d, i))
|
|
|
126 |
answer_lst = []
|
127 |
for question, context in zip(question_lst , context_retrieved_lst):
|
128 |
answer = chain.invoke(messages)
|
129 |
+
answer_lst.append(answer)
|
130 |
docs_html = []
|
131 |
for i, d in enumerate(context_retrieved, 1):
|
132 |
docs_html.append(make_html_source(d, i))
|