Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,6 @@ def get_pdf_index():
|
|
104 |
|
105 |
index = VectorstoreIndexCreator(embedding=embeddings, text_splitter=RecursiveCharacterTextSplitter(chunk_size=300, chunk_overlap=0)).from_loaders([pdf_loader])
|
106 |
|
107 |
-
st.write(f"تعداد بخشهای پردازششده: {len(index.vectorstore)}")
|
108 |
return index
|
109 |
|
110 |
# ----------------- بارگذاری دیتا -----------------
|
|
|
104 |
|
105 |
index = VectorstoreIndexCreator(embedding=embeddings, text_splitter=RecursiveCharacterTextSplitter(chunk_size=300, chunk_overlap=0)).from_loaders([pdf_loader])
|
106 |
|
|
|
107 |
return index
|
108 |
|
109 |
# ----------------- بارگذاری دیتا -----------------
|