Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -194,7 +194,7 @@ def process_pdf(uploaded_file, llm_model, n_criteria = num_criteria):
|
|
194 |
registration_result = nlp_methods.check_registration()
|
195 |
|
196 |
# Evaluate with OpenAI model
|
197 |
-
total_score, criteria_met, score_percentage, reasoning = pdf_criteria_query.
|
198 |
|
199 |
reasoning_html = "<ul>"
|
200 |
for query, reason in zip(criteria, reasoning):
|
|
|
194 |
registration_result = nlp_methods.check_registration()
|
195 |
|
196 |
# Evaluate with OpenAI model
|
197 |
+
total_score, criteria_met, score_percentage, reasoning = pdf_criteria_query.evaluate_with_llm(registration_result, peer_journal_result, eq_journal_result, queries)
|
198 |
|
199 |
reasoning_html = "<ul>"
|
200 |
for query, reason in zip(criteria, reasoning):
|