Ankush05 commited on
Commit
c319c41
·
1 Parent(s): 39b804d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,5 +16,5 @@ knowledge = "My name is Ankush and I am excited to know about Artificial Intelli
16
  if query := st.chat_input("Question: "):
17
  ans = qna(question=query, context=knowledge)
18
  with st.chat_message("User"):
19
- st.write(ans)
20
 
 
16
  if query := st.chat_input("Question: "):
17
  ans = qna(question=query, context=knowledge)
18
  with st.chat_message("User"):
19
+ st.write(ans["answer"])
20