Spaces:
Sleeping
Sleeping
Removed chat history
Browse files
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 |
|