ppsingh commited on
Commit
6e6bbd7
1 Parent(s): 5dc4a2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -71,7 +71,8 @@ async def chat(query,history,sources,reports):
71
 
72
  # get prompt
73
 
74
- prompt = ChatPromptTemplate.from_template(answer_prompt_template)
 
75
 
76
  # get llm_qa
77
  # llm_qa = HuggingFaceEndpoint(
 
71
 
72
  # get prompt
73
 
74
+ #prompt = ChatPromptTemplate.from_template(answer_prompt_template)
75
+ prompt = ChatPromptTemplate.from_messages(answer_prompt_template)
76
 
77
  # get llm_qa
78
  # llm_qa = HuggingFaceEndpoint(