Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -793,8 +793,11 @@ def nutrition_disorder_streamlit():
|
|
793 |
user_query = user_query.strip()
|
794 |
else:
|
795 |
user_query = ""
|
796 |
-
|
797 |
-
|
|
|
|
|
|
|
798 |
|
799 |
if user_query:
|
800 |
if user_query.lower() == "exit":
|
|
|
793 |
user_query = user_query.strip()
|
794 |
else:
|
795 |
user_query = ""
|
796 |
+
|
797 |
+
# for debug purposes, echo the user query
|
798 |
+
debug_msg = user_query
|
799 |
+
with st.chat_message("assistant"):
|
800 |
+
st.write(debug_msg)
|
801 |
|
802 |
if user_query:
|
803 |
if user_query.lower() == "exit":
|