Spaces:
Running
Running
Commit
·
8cc36f6
1
Parent(s):
79563f8
Update page1.py
Browse files
page1.py
CHANGED
@@ -27,7 +27,7 @@ def text():
|
|
27 |
message_placeholder.markdown(full_response + "▌")
|
28 |
message_placeholder.markdown(full_response)
|
29 |
# Add assistant response to chat history
|
30 |
-
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
31 |
apiKey = "AIzaSyAXkkcrrUBjPEgj93tZ9azy7zcS1wI1jUA"
|
32 |
msgs = StreamlitChatMessageHistory(key="special_app_key")
|
33 |
|
|
|
27 |
message_placeholder.markdown(full_response + "▌")
|
28 |
message_placeholder.markdown(full_response)
|
29 |
# Add assistant response to chat history
|
30 |
+
#st.session_state.messages.append({"role": "assistant", "content": full_response})
|
31 |
apiKey = "AIzaSyAXkkcrrUBjPEgj93tZ9azy7zcS1wI1jUA"
|
32 |
msgs = StreamlitChatMessageHistory(key="special_app_key")
|
33 |
|