Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def main():
|
|
201 |
with st.spinner("Processing..."):
|
202 |
CH_size = 450
|
203 |
CH_overlap = 50
|
204 |
-
recreate_faiss_index(pdf_docs,
|
205 |
|
206 |
raw_text = get_pdf_text(pdf_docs)
|
207 |
text_chunks = get_text_chunks(raw_text)
|
|
|
201 |
with st.spinner("Processing..."):
|
202 |
CH_size = 450
|
203 |
CH_overlap = 50
|
204 |
+
recreate_faiss_index(pdf_docs, CH_size, CH_overlap, api_key)
|
205 |
|
206 |
raw_text = get_pdf_text(pdf_docs)
|
207 |
text_chunks = get_text_chunks(raw_text)
|