this
Browse files
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 |
|