venkat charan commited on
Commit
b0dff20
·
verified ·
1 Parent(s): 6949735

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -28,9 +28,8 @@ st.write("Enter your input text:")
28
 
29
 
30
  def end_conv():
31
- if st.button("End Conversation"):
32
- st.write("Conversation ended.")
33
- memory.clear()
34
 
35
  while st.button("End Conversation")!=True:
36
  user_input = st.text_area("Input Text")
 
28
 
29
 
30
  def end_conv():
31
+ st.write("Conversation ended.")
32
+ memory.clear()
 
33
 
34
  while st.button("End Conversation")!=True:
35
  user_input = st.text_area("Input Text")