Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,9 +55,9 @@ if 'messages' not in st.session_state:
|
|
| 55 |
]
|
| 56 |
|
| 57 |
# Display chat history
|
| 58 |
-
for message in st.session_state.messages:
|
| 59 |
-
|
| 60 |
-
|
| 61 |
st.subheader("", divider='rainbow')
|
| 62 |
|
| 63 |
def respond(message, history, max_tokens, temperature, top_p):
|
|
|
|
| 55 |
]
|
| 56 |
|
| 57 |
# Display chat history
|
| 58 |
+
# for message in st.session_state.messages:
|
| 59 |
+
# with st.chat_message(message["role"]):
|
| 60 |
+
# st.markdown(message["content"])
|
| 61 |
st.subheader("", divider='rainbow')
|
| 62 |
|
| 63 |
def respond(message, history, max_tokens, temperature, top_p):
|