Update app.py
Browse files
app.py
CHANGED
@@ -108,9 +108,7 @@ if st.session_state.logged_in:
|
|
108 |
You will then make a suggestion of what type of GPU or instance is the best for the user.
|
109 |
"""}
|
110 |
)
|
111 |
-
|
112 |
-
bot.history = current_content + st.session_state.messages.copy() # Update (append) history from messages
|
113 |
-
# bot.history = st.session_state.messages.copy() # Update history from messages
|
114 |
response = bot.generate_response(prompt)
|
115 |
|
116 |
# Display assistant response in chat message container
|
|
|
108 |
You will then make a suggestion of what type of GPU or instance is the best for the user.
|
109 |
"""}
|
110 |
)
|
111 |
+
bot.conversation = st.session_state.messages.copy() # Update history from messages
|
|
|
|
|
112 |
response = bot.generate_response(prompt)
|
113 |
|
114 |
# Display assistant response in chat message container
|