Gosula commited on
Commit
74710d7
·
1 Parent(s): 07ad22b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -80,9 +80,7 @@ def main():
80
  st.session_state.chat_history = None
81
 
82
  st.header("Chat with multiple PDFs :books:")
83
- user_question = st.text_input("Ask a question about your documents:")
84
- if user_question:
85
- handle_userinput(user_question)
86
 
87
  with st.sidebar:
88
  st.subheader("Your documents")
@@ -102,6 +100,9 @@ def main():
102
  # create conversation chain
103
  st.session_state.conversation = get_conversation_chain(
104
  vectorstore)
 
 
 
105
 
106
  if __name__ == '__main__':
107
  main()
 
80
  st.session_state.chat_history = None
81
 
82
  st.header("Chat with multiple PDFs :books:")
83
+
 
 
84
 
85
  with st.sidebar:
86
  st.subheader("Your documents")
 
100
  # create conversation chain
101
  st.session_state.conversation = get_conversation_chain(
102
  vectorstore)
103
+ user_question = st.text_input("Ask a question about your documents:")
104
+ if user_question:
105
+ handle_userinput(user_question)
106
 
107
  if __name__ == '__main__':
108
  main()