Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,11 +37,10 @@ def process_results(results, highlight_terms):
|
|
37 |
docid_html = str(result["docid"])
|
38 |
results_html += """{}
|
39 |
<p style='font-size:14px; font-family: Arial; color:#7978FF; text-align: left;'>Document ID: {}</p>
|
40 |
-
<p style='font-size:12px; font-family: Arial; color:MediumAquaMarine'>Language: {}</p>
|
41 |
<p style='font-family: Arial;'>{}</p>
|
42 |
<br>
|
43 |
""".format(
|
44 |
-
meta_html, docid_html, result["lang"],
|
45 |
)
|
46 |
return results_html + "<hr>"
|
47 |
|
|
|
37 |
docid_html = str(result["docid"])
|
38 |
results_html += """{}
|
39 |
<p style='font-size:14px; font-family: Arial; color:#7978FF; text-align: left;'>Document ID: {}</p>
|
|
|
40 |
<p style='font-family: Arial;'>{}</p>
|
41 |
<br>
|
42 |
""".format(
|
43 |
+
meta_html, docid_html, result["lang"], text_html
|
44 |
)
|
45 |
return results_html + "<hr>"
|
46 |
|