Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,6 @@ def render_chat_history(chat_history):
|
|
29 |
with st.chat_message(message["role"]):
|
30 |
st.write(message["content"])
|
31 |
|
32 |
-
|
33 |
-
message_container = st.empty()
|
34 |
-
|
35 |
#Application
|
36 |
with st.container():
|
37 |
st.markdown('<div class="scrollable-div">', unsafe_allow_html=True)
|
@@ -49,6 +46,7 @@ with st.container():
|
|
49 |
},
|
50 |
{"role": "assistant", "content": "Hello, how can I help you today?"},
|
51 |
] #Initialize chat history
|
|
|
52 |
|
53 |
if 'model' not in st.session_state:
|
54 |
st.session_state.model = model
|
|
|
29 |
with st.chat_message(message["role"]):
|
30 |
st.write(message["content"])
|
31 |
|
|
|
|
|
|
|
32 |
#Application
|
33 |
with st.container():
|
34 |
st.markdown('<div class="scrollable-div">', unsafe_allow_html=True)
|
|
|
46 |
},
|
47 |
{"role": "assistant", "content": "Hello, how can I help you today?"},
|
48 |
] #Initialize chat history
|
49 |
+
message_container = st.empty()
|
50 |
|
51 |
if 'model' not in st.session_state:
|
52 |
st.session_state.model = model
|