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