stckwok commited on
Commit
d0baa8c
·
verified ·
1 Parent(s): 96584e3

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -844,7 +844,8 @@ def nutrition_disorder_streamlit():
844
  # Process through the agent
845
  with st.chat_message("assistant"):
846
  # if filtered_result in ["safe", "unsafe S7", "unsafe S6"]:
847
- if filtered_result in ["SAFE", "S6", "S7"]:
 
848
  try:
849
  # Initialize chatbot if not already done
850
  if 'chatbot' not in st.session_state:
 
844
  # Process through the agent
845
  with st.chat_message("assistant"):
846
  # if filtered_result in ["safe", "unsafe S7", "unsafe S6"]:
847
+ # if filtered_result in ["SAFE", "S6", "S7"]:
848
+ if not filtered_result: #debug
849
  try:
850
  # Initialize chatbot if not already done
851
  if 'chatbot' not in st.session_state: