Spaces:
Sleeping
Sleeping
catastropiyush
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ with st.sidebar:
|
|
84 |
filepath = "data/saved_pdf.pdf"
|
85 |
with open(filepath, "wb") as f:
|
86 |
f.write(uploaded_file.getbuffer())
|
87 |
-
|
88 |
data_ingestion() # Process PDF every time new file is uploaded
|
89 |
st.success("PDF is ready!")
|
90 |
|
|
|
84 |
filepath = "data/saved_pdf.pdf"
|
85 |
with open(filepath, "wb") as f:
|
86 |
f.write(uploaded_file.getbuffer())
|
87 |
+
displayPDF(filepath)
|
88 |
data_ingestion() # Process PDF every time new file is uploaded
|
89 |
st.success("PDF is ready!")
|
90 |
|