harshitats commited on
Commit
bd001dd
·
verified ·
1 Parent(s): cebf9fc

Upload 2 files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -187,7 +187,7 @@ def handle_userinput(user_question):
187
 
188
  with st.chat_message("assistant"):
189
  if has_math:
190
- st.image(content, use_container_width=True)
191
  else:
192
  st.markdown(content, unsafe_allow_html=True)
193
 
@@ -309,7 +309,7 @@ def main():
309
  has_math, content = render_math_as_image(message.content)
310
  with st.chat_message("assistant"):
311
  if has_math:
312
- st.image(content, use_container_width=True)
313
  else:
314
  st.markdown(content, unsafe_allow_html=True)
315
 
 
187
 
188
  with st.chat_message("assistant"):
189
  if has_math:
190
+ st.image(content, use_column_width=True)
191
  else:
192
  st.markdown(content, unsafe_allow_html=True)
193
 
 
309
  has_math, content = render_math_as_image(message.content)
310
  with st.chat_message("assistant"):
311
  if has_math:
312
+ st.image(content, use_column_width=True)
313
  else:
314
  st.markdown(content, unsafe_allow_html=True)
315