Spaces:
Sleeping
Sleeping
Commit
·
d033a1b
1
Parent(s):
d4a72ea
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,7 +249,7 @@ if st.button('Generated Expansion'):
|
|
| 249 |
candidates = generate_query_expansion_candidates(query = user_query)
|
| 250 |
|
| 251 |
with col1:
|
| 252 |
-
st.subheader('
|
| 253 |
ranking_cross = re_rank_candidates(user_query, candidates, method='cross_encoder')
|
| 254 |
ranking_cross.index = ranking_cross.index+1
|
| 255 |
st.table(ranking_cross['query'][:maxtags_sidebar])
|
|
|
|
| 249 |
candidates = generate_query_expansion_candidates(query = user_query)
|
| 250 |
|
| 251 |
with col1:
|
| 252 |
+
st.subheader('Inspirational Ranking')
|
| 253 |
ranking_cross = re_rank_candidates(user_query, candidates, method='cross_encoder')
|
| 254 |
ranking_cross.index = ranking_cross.index+1
|
| 255 |
st.table(ranking_cross['query'][:maxtags_sidebar])
|