Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def retrieve_thoughts(query, ):
|
|
70 |
# tier_2 = [doc[0] for doc in docs if ((doc[1] > 0.7)*(doc[1] < 1.5))][10:15]
|
71 |
tier_1_adjusted.sort_values("score", inplace = True)
|
72 |
|
73 |
-
return {'tier 1':tier_1_adjusted[:
|
74 |
|
75 |
def get_references(query):
|
76 |
# TO-DO FINSIH UPP.
|
|
|
70 |
# tier_2 = [doc[0] for doc in docs if ((doc[1] > 0.7)*(doc[1] < 1.5))][10:15]
|
71 |
tier_1_adjusted.sort_values("score", inplace = True)
|
72 |
|
73 |
+
return {'tier 1':tier_1_adjusted[:12], 'tier 2': tier_2_adjusted.loc[:5]}
|
74 |
|
75 |
def get_references(query):
|
76 |
# TO-DO FINSIH UPP.
|