Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1131,14 +1131,14 @@ def ai_assistant_tab():
|
|
| 1131 |
for i, (question, answer) in enumerate(st.session_state.chat_history):
|
| 1132 |
# User message
|
| 1133 |
st.markdown(f"""
|
| 1134 |
-
<div style="background-color: #e6f3ff; padding: 10px; margin: 10px 0; border-radius: 10px; border-left: 4px solid #0066cc;">
|
| 1135 |
<strong>You:</strong> {question}
|
| 1136 |
</div>
|
| 1137 |
""", unsafe_allow_html=True)
|
| 1138 |
|
| 1139 |
# AI response
|
| 1140 |
st.markdown(f"""
|
| 1141 |
-
<div style="background-color: #f0f8f0; padding: 10px; margin: 10px 0; border-radius: 10px; border-left: 4px solid #009900;">
|
| 1142 |
<strong>AI Assistant:</strong><br>{answer}
|
| 1143 |
</div>
|
| 1144 |
""", unsafe_allow_html=True)
|
|
@@ -1218,4 +1218,4 @@ def show_footer():
|
|
| 1218 |
|
| 1219 |
if __name__ == "__main__":
|
| 1220 |
main()
|
| 1221 |
-
show_footer()
|
|
|
|
| 1131 |
for i, (question, answer) in enumerate(st.session_state.chat_history):
|
| 1132 |
# User message
|
| 1133 |
st.markdown(f"""
|
| 1134 |
+
<div style="background-color: #e6f3ff; padding: 10px; margin: 10px 0; border-radius: 10px; border-left: 4px solid #0066cc; color: #333;">
|
| 1135 |
<strong>You:</strong> {question}
|
| 1136 |
</div>
|
| 1137 |
""", unsafe_allow_html=True)
|
| 1138 |
|
| 1139 |
# AI response
|
| 1140 |
st.markdown(f"""
|
| 1141 |
+
<div style="background-color: #f0f8f0; padding: 10px; margin: 10px 0; border-radius: 10px; border-left: 4px solid #009900; color: #333;">
|
| 1142 |
<strong>AI Assistant:</strong><br>{answer}
|
| 1143 |
</div>
|
| 1144 |
""", unsafe_allow_html=True)
|
|
|
|
| 1218 |
|
| 1219 |
if __name__ == "__main__":
|
| 1220 |
main()
|
| 1221 |
+
show_footer()
|