Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ Helpful answer:
|
|
26 |
|
27 |
prompt = PromptTemplate(template=template, input_variables=["context", "question"])
|
28 |
|
29 |
-
def process_pdf_and_ask_question(pdf_file,question)
|
30 |
# Load and process the PDF
|
31 |
loader = PyPDFLoader(pdf_file.name)
|
32 |
pdf_data = loader.load()
|
|
|
26 |
|
27 |
prompt = PromptTemplate(template=template, input_variables=["context", "question"])
|
28 |
|
29 |
+
def process_pdf_and_ask_question(pdf_file,question):
|
30 |
# Load and process the PDF
|
31 |
loader = PyPDFLoader(pdf_file.name)
|
32 |
pdf_data = loader.load()
|