pratikshahp commited on
Commit
34d0cf5
·
verified ·
1 Parent(s): debf44d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if prompt := st.chat_input("Type your message here..."):
45
  for msg in st.session_state.messages:
46
  role = "User" if msg["role"] == "user" else "Assistant"
47
  context += f"{role}: {msg['content']}\n"
48
- context += "Assistant:"
49
 
50
  # Generate response from LLM
51
  with st.chat_message("assistant"):
 
45
  for msg in st.session_state.messages:
46
  role = "User" if msg["role"] == "user" else "Assistant"
47
  context += f"{role}: {msg['content']}\n"
48
+ context += "Assistant: (Please answer in 50 words or fewer.)"
49
 
50
  # Generate response from LLM
51
  with st.chat_message("assistant"):