hiba9 commited on
Commit
4ad8a89
·
verified ·
1 Parent(s): d65a319

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()