andreska commited on
Commit
fd25069
·
verified ·
1 Parent(s): 9428c8a

Removed chat history

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -60,7 +60,8 @@ def handle_submit():
60
 
61
  answer = completion.choices[0].message['content']
62
 
63
- st.session_state.conversation = f"<p><strong>User:</strong> {user_input}</p><p><strong>Adrega AI:</strong> {answer}</p>" + st.session_state.conversation
 
64
  else:
65
  st.session_state.conversation(f"<p><strong>Adrega AI:</strong>: Please enter a question.")
66
 
 
60
 
61
  answer = completion.choices[0].message['content']
62
 
63
+ #st.session_state.conversation = f"<p><strong>User:</strong> {user_input}</p><p><strong>Adrega AI:</strong> {answer}</p>" + st.session_state.conversation
64
+ st.session_state.conversation = f"<p><strong>Adrega AI:</strong> {answer}</p>" + st.session_state.conversation
65
  else:
66
  st.session_state.conversation(f"<p><strong>Adrega AI:</strong>: Please enter a question.")
67