ppsingh commited on
Commit
dc219ee
1 Parent(s): 02ef87b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ async def chat(query,history,audience,sources,reports):
84
  chain = prompt | llm_qa | StrOutputParser()
85
  # get answers
86
  answer_lst = []
87
- for question, context in zip(question_list , context_retrieved_lst):
88
  answer = chain.invoke({"context": context, "question": question,'audience':audience_prompt, 'language':'english'})
89
  answer_lst.append(answer)
90
  docs_html = []
 
84
  chain = prompt | llm_qa | StrOutputParser()
85
  # get answers
86
  answer_lst = []
87
+ for question, context in zip(question_lst , context_retrieved_lst):
88
  answer = chain.invoke({"context": context, "question": question,'audience':audience_prompt, 'language':'english'})
89
  answer_lst.append(answer)
90
  docs_html = []