Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ def process_pdf(uploaded_file, llm_model, n_criteria = num_criteria):
|
|
184 |
title_result = info_query_engine.query(title_query).response
|
185 |
|
186 |
|
187 |
-
pdf_criteria_query = PDFQueryEngine(documents,
|
188 |
|
189 |
# Check for prior registration
|
190 |
nlp_methods = KeywordSearch(merged_chunks)
|
|
|
184 |
title_result = info_query_engine.query(title_query).response
|
185 |
|
186 |
|
187 |
+
pdf_criteria_query = PDFQueryEngine(documents, llm, embed_model, (general_prompt))
|
188 |
|
189 |
# Check for prior registration
|
190 |
nlp_methods = KeywordSearch(merged_chunks)
|