lianghsun commited on
Commit
96b08f7
·
1 Parent(s): 9a0ba59

Update app.py with LLM info

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,7 +36,7 @@ for message in st.session_state.messages:
36
  with st.chat_message(message["role"]):
37
  st.markdown(message["content"])
38
 
39
- if prompt := st.chat_input("What is up?"):
40
  st.session_state.messages.append({"role": "user", "content": prompt})
41
  with st.chat_message("user"):
42
  st.markdown(prompt)
@@ -55,5 +55,5 @@ if prompt := st.chat_input("What is up?"):
55
  st.session_state.messages.append(
56
  {"role": "assistant", "content": response})
57
 
58
- with st.container():
59
- st.caption('Please be aware that current Large Language Models (LLMs) can exhibit “hallucinations,” producing plausible-sounding but inaccurate or fabricated information. It is crucial to carefully review and verify any content generated by LLMs to avoid misunderstandings or misinformation. Always cross-check facts and consult reliable sources before making important decisions based on LLM outputs.')
 
36
  with st.chat_message(message["role"]):
37
  st.markdown(message["content"])
38
 
39
+ if prompt := st.chat_input("來聊點什麼吧"):
40
  st.session_state.messages.append({"role": "user", "content": prompt})
41
  with st.chat_message("user"):
42
  st.markdown(prompt)
 
55
  st.session_state.messages.append(
56
  {"role": "assistant", "content": response})
57
 
58
+ # with st.container():
59
+ # st.caption('Please be aware that current Large Language Models (LLMs) can exhibit “hallucinations,” producing plausible-sounding but inaccurate or fabricated information. It is crucial to carefully review and verify any content generated by LLMs to avoid misunderstandings or misinformation. Always cross-check facts and consult reliable sources before making important decisions based on LLM outputs.')