Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def split_pdfs(pdf_docs):
|
|
39 |
if len(pdf_chunks[-1]) >= 10:
|
40 |
pdf_chunks.append([])
|
41 |
|
42 |
-
|
43 |
|
44 |
def generate_response(pdf_chunks, llm_model):
|
45 |
"""Generates a response to a query using a list of PDF documents and an LLM model.
|
|
|
39 |
if len(pdf_chunks[-1]) >= 10:
|
40 |
pdf_chunks.append([])
|
41 |
|
42 |
+
return pdf_chunks
|
43 |
|
44 |
def generate_response(pdf_chunks, llm_model):
|
45 |
"""Generates a response to a query using a list of PDF documents and an LLM model.
|