Spaces:
Sleeping
Sleeping
Commit
·
48bf421
1
Parent(s):
abd8f4e
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,8 +24,8 @@ st.sidebar.title("😎")
|
|
| 24 |
st.session_state['API_Key'] = st.sidebar.text_input("What's your API key?", type="password")
|
| 25 |
summarise_button = st.sidebar.button("Summarise the conversation", key="summarise")
|
| 26 |
if summarise_button:
|
| 27 |
-
summarise_placeholder = st.sidebar.write("Nice chatting with you ❤ \n\n"+st.session_state['conversation'].
|
| 28 |
-
# summarise_placeholder.write("Nice chatting with you ❤ \n\n" + st.session_state['conversation'].memory.buffer
|
| 29 |
|
| 30 |
def getresponse(userInput, api_key):
|
| 31 |
|
|
|
|
| 24 |
st.session_state['API_Key'] = st.sidebar.text_input("What's your API key?", type="password")
|
| 25 |
summarise_button = st.sidebar.button("Summarise the conversation", key="summarise")
|
| 26 |
if summarise_button:
|
| 27 |
+
summarise_placeholder = st.sidebar.write("Nice chatting with you ❤ \n\n"+st.session_state['conversation'].getbuffer())
|
| 28 |
+
# summarise_placeholder.write("Nice chatting with you ❤ \n\n" + st.session_state['conversation'].memory.buffer)
|
| 29 |
|
| 30 |
def getresponse(userInput, api_key):
|
| 31 |
|