Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def retrieve_thoughts(query, ):
|
|
64 |
# tier_1 = [doc[0] for doc in docs if ((doc[1] < 1))][:5]
|
65 |
# tier_2 = [doc[0] for doc in docs if ((doc[1] > 0.7)*(doc[1] < 1.5))][10:15]
|
66 |
|
67 |
-
return {'tier 1':tier_1_adjusted.loc[:
|
68 |
|
69 |
def get_references(query):
|
70 |
# TO-DO FINSIH UPP.
|
|
|
64 |
# tier_1 = [doc[0] for doc in docs if ((doc[1] < 1))][:5]
|
65 |
# tier_2 = [doc[0] for doc in docs if ((doc[1] > 0.7)*(doc[1] < 1.5))][10:15]
|
66 |
|
67 |
+
return {'tier 1':tier_1_adjusted.loc[:20], 'tier 2': tier_2_adjusted.loc[:5]}
|
68 |
|
69 |
def get_references(query):
|
70 |
# TO-DO FINSIH UPP.
|