Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -235,7 +235,7 @@ else:
|
|
| 235 |
|
| 236 |
# β
Apply bullet formatting only for strict factual mode (not reasoning)
|
| 237 |
if not reasoning_mode and not answer.startswith("β οΈ"):
|
| 238 |
-
answer =
|
| 239 |
st.markdown(f"<div class='answer-box'>{answer}</div>", unsafe_allow_html=True)
|
| 240 |
|
| 241 |
with st.expander("π Supporting Context"):
|
|
|
|
| 235 |
|
| 236 |
# β
Apply bullet formatting only for strict factual mode (not reasoning)
|
| 237 |
if not reasoning_mode and not answer.startswith("β οΈ"):
|
| 238 |
+
answer = re.sub(r"(^|\n)-\s*", r"\1<br>β’ ", answer)
|
| 239 |
st.markdown(f"<div class='answer-box'>{answer}</div>", unsafe_allow_html=True)
|
| 240 |
|
| 241 |
with st.expander("π Supporting Context"):
|