Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ METADATA_FIELD = "docid"
|
|
23 |
|
24 |
def result_html(result, meta):
|
25 |
return (
|
26 |
-
f"<div style=\"color:#2a5cb3;font-weight: 500\"><u>{meta}</u></div><br>"
|
27 |
f"<div><details><summary>{result[:250]}...</summary><p>{result[250:]}</p></details></div><br><hr><br>"
|
28 |
)
|
29 |
|
|
|
23 |
|
24 |
def result_html(result, meta):
|
25 |
return (
|
26 |
+
f"<div style=\"color:#2a5cb3;font-weight: 500\"><u>docid: {meta}</u></div><br>"
|
27 |
f"<div><details><summary>{result[:250]}...</summary><p>{result[250:]}</p></details></div><br><hr><br>"
|
28 |
)
|
29 |
|