KeerthiVM commited on
Commit
138f7f9
·
1 Parent(s): cc12242

Increased token limit

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,13 +101,13 @@ if uploaded_file is not None and uploaded_file != st.session_state.current_image
101
 
102
  for message in st.session_state.messages:
103
  with st.chat_message(message["role"]):
104
- st.markdown(remove_code_blocks(message["content"]), unsafe_allow_html=True)
105
 
106
  # === Chat Interface ===
107
  if prompt := st.chat_input("Ask a follow-up question..."):
108
  st.session_state.messages.append({"role": "user", "content": prompt})
109
  with st.chat_message("user"):
110
- st.markdown(remove_code_blocks(prompt), unsafe_allow_html=True)
111
 
112
  with st.chat_message("assistant"):
113
  with st.spinner("Thinking..."):
 
101
 
102
  for message in st.session_state.messages:
103
  with st.chat_message(message["role"]):
104
+ st.markdown(remove_code_blocks(message["content"]))
105
 
106
  # === Chat Interface ===
107
  if prompt := st.chat_input("Ask a follow-up question..."):
108
  st.session_state.messages.append({"role": "user", "content": prompt})
109
  with st.chat_message("user"):
110
+ st.markdown(remove_code_blocks(prompt))
111
 
112
  with st.chat_message("assistant"):
113
  with st.spinner("Thinking..."):