achuthc1298 commited on
Commit
b344204
·
verified ·
1 Parent(s): 3c2153d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def main():
142
 
143
  # write the response
144
  st.session_state.messages.append({"role": "assistant", "content": msg})
145
- st.chat_message("assistant").write(msg)
146
  except Exception as e:
147
  st.error(e)
148
 
 
142
 
143
  # write the response
144
  st.session_state.messages.append({"role": "assistant", "content": msg})
145
+ st.chat_message("assistant").markdown(msg)
146
  except Exception as e:
147
  st.error(e)
148