Spaces:
Sleeping
Sleeping
carlotamdeluna
commited on
Commit
•
6b54436
1
Parent(s):
fd640a0
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,10 @@ Conversation = ConversationChain(llm = llm,
|
|
81 |
memory = st.session_state.entity_memory)
|
82 |
|
83 |
|
84 |
-
|
|
|
|
|
|
|
85 |
output = Conversation.run(input=user_input)
|
86 |
st.session_state.past.append(user_input)
|
87 |
st.session_state.generated.append(output)
|
|
|
81 |
memory = st.session_state.entity_memory)
|
82 |
|
83 |
|
84 |
+
|
85 |
+
|
86 |
+
submit = st.button("Generate")
|
87 |
+
while submit:
|
88 |
output = Conversation.run(input=user_input)
|
89 |
st.session_state.past.append(user_input)
|
90 |
st.session_state.generated.append(output)
|