Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -245,8 +245,7 @@ def process_pdf(uploaded_files, llm_model, n_criteria = num_criteria):
|
|
245 |
|
246 |
# Evaluate with OpenAI model
|
247 |
total_score, criteria_met, score_percentage, score_list, reasoning = pdf_criteria_query.evaluate_with_llm(registration_result, peer_journal_result, eq_journal_result, queries)
|
248 |
-
|
249 |
-
print(total_score)
|
250 |
|
251 |
try:
|
252 |
# Define the path to your CSV file
|
|
|
245 |
|
246 |
# Evaluate with OpenAI model
|
247 |
total_score, criteria_met, score_percentage, score_list, reasoning = pdf_criteria_query.evaluate_with_llm(registration_result, peer_journal_result, eq_journal_result, queries)
|
248 |
+
logger.info("Total score: %s", total_score)
|
|
|
249 |
|
250 |
try:
|
251 |
# Define the path to your CSV file
|