Spaces:
Running
Running
Upload 2 files
Browse files
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,
|
| 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,
|
| 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 |
|