Abrar20 commited on
Commit
a8d6a16
·
verified ·
1 Parent(s): d057b60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -153,7 +153,8 @@ def main():
153
  pdf_files = ["waste_guideline.pdf"]
154
  raw_text = get_pdf_text([open(pdf, "rb") for pdf in pdf_files])
155
  text_chunks = get_text_chunks(raw_text)
156
- get_vector_store(text_chunks) st.success("Documents processed and FAISS index created.")
 
157
  else:
158
  st.info("FAISS index loaded from 'faiss_index'.")
159
 
 
153
  pdf_files = ["waste_guideline.pdf"]
154
  raw_text = get_pdf_text([open(pdf, "rb") for pdf in pdf_files])
155
  text_chunks = get_text_chunks(raw_text)
156
+ get_vector_store(text_chunks)
157
+ st.success("Documents processed and FAISS index created.")
158
  else:
159
  st.info("FAISS index loaded from 'faiss_index'.")
160