kpal002 commited on
Commit
9e191fa
·
verified ·
1 Parent(s): e745670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -191,6 +191,9 @@ def process_pdf(uploaded_file, llm_model, n_criteria = num_criteria):
191
  # Generate the score bar HTML
192
  score_bar_html = generate_score_bar(total_score, n_criteria)
193
 
 
 
 
194
  # Return the score as a string and the reasoning as HTML
195
  return str(round((total_score / n_criteria) * 100)) + "/100", score_bar_html, reasoning_html, author_result, title
196
 
 
191
  # Generate the score bar HTML
192
  score_bar_html = generate_score_bar(total_score, n_criteria)
193
 
194
+ author_info_html = f"<div style='font-size: 18px;'>{author_result}</div>"
195
+ title_info_html = f"<div style='font-size: 20px;'>{title}</div>"
196
+
197
  # Return the score as a string and the reasoning as HTML
198
  return str(round((total_score / n_criteria) * 100)) + "/100", score_bar_html, reasoning_html, author_result, title
199