Illia56 commited on
Commit
e9f01ed
1 Parent(s): 019cdf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -31,13 +31,7 @@ def predict(message, system_prompt="", temperature=0.9, max_new_tokens=4096):
31
  st.title(TITLE)
32
  st.write(DESCRIPTION)
33
 
34
- if "messages" not in st.session_state:
35
- st.session_state.messages = []
36
 
37
- # Display chat messages from history on app rerun
38
- for message in st.session_state.messages:
39
- with st.chat_message(message["role"]):
40
- st.markdown(message["content"])
41
 
42
  # React to user input
43
  if prompt := st.chat_input("Ask LLama-2-70b anything..."):
 
31
  st.title(TITLE)
32
  st.write(DESCRIPTION)
33
 
 
 
34
 
 
 
 
 
35
 
36
  # React to user input
37
  if prompt := st.chat_input("Ask LLama-2-70b anything..."):