Skip to content

Commit

Permalink
change to safe markdown syntax
Browse files Browse the repository at this point in the history
Signed-off-by: error9098x <[email protected]>
  • Loading branch information
error9098x committed Dec 19, 2024
1 parent 56c1b1e commit 32bd4b1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frontend/streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,7 @@ def main() -> None:
color = "orange"
else:
color = "red"
st.markdown(
f"<span style='color:{color}'>{response_time_text}</span>",
unsafe_allow_html=True,
)
st.markdown(f":{color}[{response_time_text}]")

st.session_state.chat_history.append(
{
Expand Down

0 comments on commit 32bd4b1

Please sign in to comment.