Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ if st.button("Get Response"):
|
|
147 |
st.write("Response:", response)
|
148 |
|
149 |
# Save session button
|
150 |
-
if st.button("Save Session"
|
151 |
st.session_state.previous_sessions.append(st.session_state.chat_history)
|
152 |
st.session_state.chat_history = [
|
153 |
{"role": "system", "content": "you are a helpful assistant. Take the input from the users and try to provide as detailed response as possible. Provide proper examples to help the user. Try to mention references or provide citations to make it more detail-oriented."}
|
@@ -169,3 +169,4 @@ st.markdown(
|
|
169 |
|
170 |
|
171 |
|
|
|
|
147 |
st.write("Response:", response)
|
148 |
|
149 |
# Save session button
|
150 |
+
if st.button("Save Session"):
|
151 |
st.session_state.previous_sessions.append(st.session_state.chat_history)
|
152 |
st.session_state.chat_history = [
|
153 |
{"role": "system", "content": "you are a helpful assistant. Take the input from the users and try to provide as detailed response as possible. Provide proper examples to help the user. Try to mention references or provide citations to make it more detail-oriented."}
|
|
|
169 |
|
170 |
|
171 |
|
172 |
+
|