Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -1
src/streamlit_app.py
CHANGED
|
@@ -528,7 +528,8 @@ if search_clicked or (query and len(query.strip()) > 0):
|
|
| 528 |
|
| 529 |
# Display AI response
|
| 530 |
# st.markdown(ai_response,unsafe_allow_html=True)
|
| 531 |
-
|
|
|
|
| 532 |
|
| 533 |
|
| 534 |
|
|
|
|
| 528 |
|
| 529 |
# Display AI response
|
| 530 |
# st.markdown(ai_response,unsafe_allow_html=True)
|
| 531 |
+
html_content1 = markdown2.markdown(ai_response)
|
| 532 |
+
st.markdown(f'<div style="background: #303336; padding: 1rem; border-radius: 8px; margin: 1rem 0; line-height: 1.6; color: white;">{html_content1}</div>', unsafe_allow_html=True)
|
| 533 |
|
| 534 |
|
| 535 |
|