mehmet0001 commited on
Commit
0d17b0e
·
verified ·
1 Parent(s): 4317ab7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -41,7 +41,6 @@ if st.session_state.stage == "prompt-input":
41
 
42
  if prompt:
43
  for message in st.session_state.messages:
44
- st.write("eyo")
45
  with st.chat_message(message["role"]):
46
  st.markdown(message["message"])
47
 
@@ -72,5 +71,5 @@ if st.session_state.stage == "prompt-input":
72
  full_response += chunk + " "
73
  time.sleep(0.05)
74
  message_placeholder.markdown(full_response + "▌")
75
- message_placeholder.markdown(full_response)
76
  st.session_state.messages.append({"role":"assistant","message":full_response})
 
41
 
42
  if prompt:
43
  for message in st.session_state.messages:
 
44
  with st.chat_message(message["role"]):
45
  st.markdown(message["message"])
46
 
 
71
  full_response += chunk + " "
72
  time.sleep(0.05)
73
  message_placeholder.markdown(full_response + "▌")
74
+ message_placeholder.markdown(st.session_state.messages)
75
  st.session_state.messages.append({"role":"assistant","message":full_response})