Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ if uploaded_file is not None:
|
|
87 |
filepath = "data/saved_pdf.pdf"
|
88 |
with open(filepath, "wb") as f:
|
89 |
f.write(uploaded_file.getbuffer())
|
90 |
-
displayPDF(filepath) # Display the uploaded PDF
|
91 |
data_ingestion() # Process PDF every time new file is uploaded
|
92 |
|
93 |
user_prompt = st.chat_input("Ask me anything about the content of the PDF:")
|
|
|
87 |
filepath = "data/saved_pdf.pdf"
|
88 |
with open(filepath, "wb") as f:
|
89 |
f.write(uploaded_file.getbuffer())
|
90 |
+
# displayPDF(filepath) # Display the uploaded PDF
|
91 |
data_ingestion() # Process PDF every time new file is uploaded
|
92 |
|
93 |
user_prompt = st.chat_input("Ask me anything about the content of the PDF:")
|