vishwask commited on
Commit
dfd0a9c
1 Parent(s): e8d9658

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -147,8 +147,7 @@ if prompt := st.chat_input("How can I help you today?"):
147
  message_placeholder = st.empty()
148
  full_response = ""
149
  message_history = "\n".join(list(get_message_history())[-3:])
150
- question = st.text_input("Ask your question", placeholder="Try to include context in your question")
151
- result = qa_chain(question)
152
  output = [result['result']]
153
 
154
  def generate_pdf():
 
147
  message_placeholder = st.empty()
148
  full_response = ""
149
  message_history = "\n".join(list(get_message_history())[-3:])
150
+ result = qa_chain(prompt)
 
151
  output = [result['result']]
152
 
153
  def generate_pdf():