sschet commited on
Commit
48b3775
1 Parent(s): 1b63786

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -21,8 +21,11 @@ def main():
21
  if 'chat_history' not in st.session_state:
22
  st.session_state['chat_history'] = []
23
 
24
- st.session_state['chat_history'].append("<div style='color: blue;'>You: </div>")
25
- st.session_state['chat_history'].append("<div style='color: red;'>MidikanGPT-4: </div>")
 
 
 
26
 
27
  # Handle the send button click
28
  if send_button:
 
21
  if 'chat_history' not in st.session_state:
22
  st.session_state['chat_history'] = []
23
 
24
+ st.session_state['chat_history'] += "<div style='color: blue;'>You: </div>"
25
+ st.markdown(st.session_state['chat_history'], unsafe_allow_html=True)
26
+
27
+ #st.session_state['chat_history'].append("<div style='color: blue;'>You: </div>")
28
+ #st.session_state['chat_history'].append("<div style='color: red;'>MidikanGPT-4: </div>")
29
 
30
  # Handle the send button click
31
  if send_button: