Chris4K commited on
Commit
5645449
1 Parent(s): 161e71f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def format_results(results, stats):
195
  df = pd.DataFrame([
196
  {
197
  "Content": doc.page_content,
198
- "Source": doc.metadata,
199
 
200
  #"Source": doc.metadata.get("source", "Unknown"),
201
  #"Relevance Score": doc.metadata.get("score", "N/A")
 
195
  df = pd.DataFrame([
196
  {
197
  "Content": doc.page_content,
198
+ **doc.metadata
199
 
200
  #"Source": doc.metadata.get("source", "Unknown"),
201
  #"Relevance Score": doc.metadata.get("score", "N/A")