Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ def chat_interface():
|
|
| 137 |
response = st.write_stream(stream)
|
| 138 |
|
| 139 |
# Add AI response to chat history
|
| 140 |
-
st.session_state.chat_history.append({"role": "Jimmy", "content": response)
|
| 141 |
|
| 142 |
def main():
|
| 143 |
initialize_session_state()
|
|
|
|
| 137 |
response = st.write_stream(stream)
|
| 138 |
|
| 139 |
# Add AI response to chat history
|
| 140 |
+
st.session_state.chat_history.append({"role": "Jimmy", "content": response})
|
| 141 |
|
| 142 |
def main():
|
| 143 |
initialize_session_state()
|