Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -169,7 +169,8 @@ if 'file_processed' not in st.session_state:
|
|
169 |
def process_file(uploaded_file):
|
170 |
with st.spinner("Processing document..."):
|
171 |
pdfextract = PDFExtract()
|
172 |
-
|
|
|
173 |
|
174 |
return db
|
175 |
|
|
|
169 |
def process_file(uploaded_file):
|
170 |
with st.spinner("Processing document..."):
|
171 |
pdfextract = PDFExtract()
|
172 |
+
print(uploaded_file.name)
|
173 |
+
db = pdfextract.main([uploaded_file.name])
|
174 |
|
175 |
return db
|
176 |
|