Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def process_pdf(uploaded_files, llm_model, n_criteria = num_criteria):
|
|
217 |
score_bar_html = generate_score_bar(total_score, n_criteria)
|
218 |
|
219 |
output_path = f"/tmp/paper_report_{i+1}.pdf"
|
220 |
-
create_pdf_report(title, author_result, total_score,
|
221 |
output_files.append(output_path)
|
222 |
|
223 |
# Construct the processing message
|
|
|
217 |
score_bar_html = generate_score_bar(total_score, n_criteria)
|
218 |
|
219 |
output_path = f"/tmp/paper_report_{i+1}.pdf"
|
220 |
+
create_pdf_report(title, author_result, total_score, reasoning_text, output_path)
|
221 |
output_files.append(output_path)
|
222 |
|
223 |
# Construct the processing message
|