Increased token limit
Browse files
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"])
|
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..."):
|
|
|
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..."):
|