Update app.py
Browse files
app.py
CHANGED
@@ -325,7 +325,7 @@ st.title("💬 Chatbot")
|
|
325 |
st.caption("🚀 A streamlit chatbot powered by mixtral-8x7b-32768 Groq LLM (VERY FAST !). temperature=0.2")
|
326 |
|
327 |
if "messages" not in st.session_state:
|
328 |
-
st.session_state["messages"] = [{"role": "assistant", "content": "
|
329 |
|
330 |
for msg in st.session_state.messages:
|
331 |
st.chat_message(msg["role"]).write(msg["content"])
|
@@ -361,7 +361,7 @@ if prompt := st.chat_input():
|
|
361 |
st.session_state.messages.append({"role": "assistant", "content": msg})
|
362 |
# st.chat_message("assistant").write(msg)
|
363 |
# MET ALS AVATAR EEN IMAGE VAN VICTOR:
|
364 |
-
st.chat_message("assistant", avatar="
|
365 |
|
366 |
# With a streamlit expander
|
367 |
with st.expander("Document Similarity Search"):
|
|
|
325 |
st.caption("🚀 A streamlit chatbot powered by mixtral-8x7b-32768 Groq LLM (VERY FAST !). temperature=0.2")
|
326 |
|
327 |
if "messages" not in st.session_state:
|
328 |
+
st.session_state["messages"] = [{"role": "assistant", "content": "Hoe kan ik U helpen?"}]
|
329 |
|
330 |
for msg in st.session_state.messages:
|
331 |
st.chat_message(msg["role"]).write(msg["content"])
|
|
|
361 |
st.session_state.messages.append({"role": "assistant", "content": msg})
|
362 |
# st.chat_message("assistant").write(msg)
|
363 |
# MET ALS AVATAR EEN IMAGE VAN VICTOR:
|
364 |
+
st.chat_message("assistant", avatar="Victor_Benckhuisen_20_percent.jpg").write(msg)
|
365 |
|
366 |
# With a streamlit expander
|
367 |
with st.expander("Document Similarity Search"):
|