Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ if st.button("Ask"):
|
|
43 |
widget_counter += 1
|
44 |
|
45 |
if new_answer.lower() != 'skip':
|
|
|
46 |
knowledge_base['questions'].append({'question': user_input, 'answer': new_answer})
|
47 |
save_knowledge_base('knowledge_base.json', knowledge_base)
|
48 |
-
st.text("Bot: Thank you! I learnt something new.")
|
49 |
|
50 |
st.session_state.widget_counter = widget_counter
|
|
|
43 |
widget_counter += 1
|
44 |
|
45 |
if new_answer.lower() != 'skip':
|
46 |
+
st.text("Bot: Thank you! I learnt something new.")
|
47 |
knowledge_base['questions'].append({'question': user_input, 'answer': new_answer})
|
48 |
save_knowledge_base('knowledge_base.json', knowledge_base)
|
|
|
49 |
|
50 |
st.session_state.widget_counter = widget_counter
|