Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -125,9 +125,12 @@ with st.form(key='interaction_form'):
|
|
125 |
# Feedback submission
|
126 |
feedback_submit_button = st.form_submit_button("Submit Feedback")
|
127 |
|
128 |
-
if
|
129 |
-
if comment.strip():
|
130 |
save_feedback(user_input, bot_response, rating, comment)
|
131 |
st.success("Thank you for your feedback!")
|
132 |
else:
|
133 |
-
st.warning("
|
|
|
|
|
|
|
|
125 |
# Feedback submission
|
126 |
feedback_submit_button = st.form_submit_button("Submit Feedback")
|
127 |
|
128 |
+
if st.button("Submit"):
|
129 |
+
if user_input.strip() and comment.strip():
|
130 |
save_feedback(user_input, bot_response, rating, comment)
|
131 |
st.success("Thank you for your feedback!")
|
132 |
else:
|
133 |
+
st.warning("Please provide both input and comment.")
|
134 |
+
|
135 |
+
st.markdown("---")
|
136 |
+
st.markdown("Collaboration is the key to success. Each question finds its answer, each challenge becomes an opportunity.")
|