timeki commited on
Commit
ee3f645
1 Parent(s): b0e7eec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -204,7 +204,7 @@ async def chat(query,history,audience,sources,reports):
204
  "question":output_query,
205
  "sources":sources,
206
  "docs":serialize_docs(docs),
207
- "answer": history[-1]["content"],
208
  "time": timestamp,
209
  }
210
  log_on_azure(file, logs, share_client)
 
204
  "question":output_query,
205
  "sources":sources,
206
  "docs":serialize_docs(docs),
207
+ "answer": history[-1].content,
208
  "time": timestamp,
209
  }
210
  log_on_azure(file, logs, share_client)