Spaces:
Runtime error
Runtime error
medelharchaoui
commited on
Commit
•
f9b3ca4
1
Parent(s):
2f0cb47
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ st.title('PDF Text Extractor')
|
|
16 |
|
17 |
uploaded_file = st.file_uploader("Choose a PDF file", type="pdf")
|
18 |
if uploaded_file is not None:
|
19 |
-
|
20 |
|
21 |
|
22 |
splitter = SentenceTransformersTokenTextSplitter(model_name='dangvantuan/sentence-camembert-large',
|
|
|
16 |
|
17 |
uploaded_file = st.file_uploader("Choose a PDF file", type="pdf")
|
18 |
if uploaded_file is not None:
|
19 |
+
raw_documents = read_pdf(uploaded_file)
|
20 |
|
21 |
|
22 |
splitter = SentenceTransformersTokenTextSplitter(model_name='dangvantuan/sentence-camembert-large',
|