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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def process_pdf(uploaded_file, llm_model, n_criteria = num_criteria):
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
 
200
 
201
  with gr.Blocks(theme=gr.themes.Glass(
 
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_info_html, title_info_html
199
 
200
 
201
  with gr.Blocks(theme=gr.themes.Glass(