Update app.py
Browse files
app.py
CHANGED
|
@@ -244,9 +244,9 @@ else:
|
|
| 244 |
with col2:
|
| 245 |
for entry in retrival:
|
| 246 |
with st.container():
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
|
| 252 |
|
|
|
|
| 244 |
with col2:
|
| 245 |
for entry in retrival:
|
| 246 |
with st.container():
|
| 247 |
+
"Title": [entry['Title'] for entry in knowledge],
|
| 248 |
+
"Score (%)": [f"{int(entry.get('Score', 0) * 100)}%" for entry in knowledge], # Convert to percentage and remove decimals
|
| 249 |
+
"Page": [entry['PageNumber'] for entry in knowledge],
|
| 250 |
+
# "Grounding Text": [entry['ReconstructedText'] for entry in knowledge]
|
| 251 |
|
| 252 |
|