sujitb commited on
Commit
72cd7b7
1 Parent(s): b25eee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ if QUESTION:
211
  if ns=='webpages':
212
  d['url']= r['metadata']['url']
213
 
214
- meta_score= get_meta_score(r['id'],question_embedding)
215
  score=.5* r['score'] + .5*meta_score
216
  d['score']=score
217
  #st.write(d['url'], score, r['score'], meta_score)
 
211
  if ns=='webpages':
212
  d['url']= r['metadata']['url']
213
 
214
+ meta_score= get_meta_score(d['url'],question_embedding)
215
  score=.5* r['score'] + .5*meta_score
216
  d['score']=score
217
  #st.write(d['url'], score, r['score'], meta_score)