Update app.py
Browse files
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(
|
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)
|