JBHF commited on
Commit
8d55c54
1 Parent(s): 9c9210f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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": "How can I help you?"}]
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="https://huggingface.co/spaces/JBHF/NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1/blob/main/Victor_Benckhuijsen_2.png").write(msg)
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"):