Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
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(
|