Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,11 @@ def main():
|
|
21 |
if 'chat_history' not in st.session_state:
|
22 |
st.session_state['chat_history'] = []
|
23 |
|
24 |
-
st.session_state['chat_history']
|
25 |
-
st.session_state['chat_history']
|
|
|
|
|
|
|
26 |
|
27 |
# Handle the send button click
|
28 |
if send_button:
|
|
|
21 |
if 'chat_history' not in st.session_state:
|
22 |
st.session_state['chat_history'] = []
|
23 |
|
24 |
+
st.session_state['chat_history'] += "<div style='color: blue;'>You: </div>"
|
25 |
+
st.markdown(st.session_state['chat_history'], unsafe_allow_html=True)
|
26 |
+
|
27 |
+
#st.session_state['chat_history'].append("<div style='color: blue;'>You: </div>")
|
28 |
+
#st.session_state['chat_history'].append("<div style='color: red;'>MidikanGPT-4: </div>")
|
29 |
|
30 |
# Handle the send button click
|
31 |
if send_button:
|