ArturG9 commited on
Commit
df2271b
1 Parent(s): ae84e58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -136,20 +136,20 @@ def main():
136
  with st.spinner:
137
  if pdf_docs:
138
  # get pdf text
139
- raw_text = get_pdf_text(pdf_docs)
140
 
141
  # get the text chunks
142
- text_chunks = get_text_chunks(raw_text)
143
 
144
  # create vector store
145
- vectorstore = get_vectorstore(text_chunks)
146
 
147
  # create conversation chain
148
- conversation = get_conversation_chain()
149
 
150
- st.success("Files have been processed into a vector store.")
151
 
152
- return vectorstore , conversation
153
 
154
 
155
 
 
136
  with st.spinner:
137
  if pdf_docs:
138
  # get pdf text
139
+ raw_text = get_pdf_text(pdf_docs)
140
 
141
  # get the text chunks
142
+ text_chunks = get_text_chunks(raw_text)
143
 
144
  # create vector store
145
+ vectorstore = get_vectorstore(text_chunks)
146
 
147
  # create conversation chain
148
+ conversation = get_conversation_chain()
149
 
150
+ st.success("Files have been processed into a vector store.")
151
 
152
+ return vectorstore , conversation
153
 
154
 
155