Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ if 'messages' not in st.session_state:
|
|
| 54 |
{"role": "system", "content": "You are a knowledgeable and empathetic medical assistant providing accurate and compassionate health advice based on user input."}
|
| 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"])
|
|
|
|
| 54 |
{"role": "system", "content": "You are a knowledgeable and empathetic medical assistant providing accurate and compassionate health advice based on user input."}
|
| 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"])
|