Commit
•
aecc92b
1
Parent(s):
95098be
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from langchain_core.runnables import RunnablePassthrough
|
|
9 |
import streamlit as st
|
10 |
|
11 |
# Loading and spliting the document
|
12 |
-
pdf = PyPDFLoader("
|
13 |
data = pdf.load()
|
14 |
rs = RecursiveCharacterTextSplitter(chunk_size=1313, chunk_overlap=200)
|
15 |
splits = rs.split_documents(data)
|
|
|
9 |
import streamlit as st
|
10 |
|
11 |
# Loading and spliting the document
|
12 |
+
pdf = PyPDFLoader("quran-in-modern-english.pdf")
|
13 |
data = pdf.load()
|
14 |
rs = RecursiveCharacterTextSplitter(chunk_size=1313, chunk_overlap=200)
|
15 |
splits = rs.split_documents(data)
|