Rams901 commited on
Commit
9403195
·
1 Parent(s): a63cb35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def qa_retrieve(query,):
88
  tier_1 = thoughts['tier 1']
89
  tier_2 = thoughts['tier 2']
90
 
91
- reference = tier_1_adjusted[['ref', 'url', 'title']].to_dict('records')
92
 
93
  tier_1 = list(tier_1.apply(lambda x: f"[{int(x['ref'])+1}] title: {x['title']}\n Content: {x.content}", axis = 1).values)
94
  tier_2 = list(tier_2.apply(lambda x: f"title: {x['title']}\n Content: {x.content}", axis = 1).values)
 
88
  tier_1 = thoughts['tier 1']
89
  tier_2 = thoughts['tier 2']
90
 
91
+ reference = tier_1[['ref', 'url', 'title']].to_dict('records')
92
 
93
  tier_1 = list(tier_1.apply(lambda x: f"[{int(x['ref'])+1}] title: {x['title']}\n Content: {x.content}", axis = 1).values)
94
  tier_2 = list(tier_2.apply(lambda x: f"title: {x['title']}\n Content: {x.content}", axis = 1).values)