Update app.py
Browse files
app.py
CHANGED
@@ -817,7 +817,7 @@ def nutrition_disorder_streamlit():
|
|
817 |
if 'chatbot' not in st.session_state:
|
818 |
#st.session_state.chatbot = __________() # Blank #6: Fill in with the chatbot class initialization (e.g., NutritionBot)
|
819 |
st.session_state.chatbot = NutritionBot() # Blank #6:
|
820 |
-
response = st.session_state.chatbot.__________(st.session_state.user_id, user_query)
|
821 |
response = st.session_state.chatbot.handle_customer_query(st.session_state.user_id, user_query)
|
822 |
# Blank #7: Fill in with the method to handle queries (e.g., handle_customer_query)
|
823 |
st.write(response)
|
|
|
817 |
if 'chatbot' not in st.session_state:
|
818 |
#st.session_state.chatbot = __________() # Blank #6: Fill in with the chatbot class initialization (e.g., NutritionBot)
|
819 |
st.session_state.chatbot = NutritionBot() # Blank #6:
|
820 |
+
#response = st.session_state.chatbot.__________(st.session_state.user_id, user_query)
|
821 |
response = st.session_state.chatbot.handle_customer_query(st.session_state.user_id, user_query)
|
822 |
# Blank #7: Fill in with the method to handle queries (e.g., handle_customer_query)
|
823 |
st.write(response)
|