Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -697,6 +697,7 @@ def nutrition_disorder_streamlit():
|
|
697 |
|
698 |
# Filter input using Llama Guard
|
699 |
filtered_result = filter_input_with_llama_guard(user_query)
|
|
|
700 |
filtered_result = filtered_result.replace("\n", " ") # Normalize the result
|
701 |
|
702 |
# Check if input is safe based on allowed statuses
|
|
|
697 |
|
698 |
# Filter input using Llama Guard
|
699 |
filtered_result = filter_input_with_llama_guard(user_query)
|
700 |
+
st.write(filtered_result)
|
701 |
filtered_result = filtered_result.replace("\n", " ") # Normalize the result
|
702 |
|
703 |
# Check if input is safe based on allowed statuses
|