Spaces:
Sleeping
Sleeping
orionweller
commited on
Commit
•
17eb403
1
Parent(s):
0a8b37d
bug fix
Browse files
app.py
CHANGED
@@ -85,10 +85,11 @@ with st.sidebar:
|
|
85 |
if qid in queries:
|
86 |
del queries[qid]
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
92 |
|
93 |
z = st.header("Analysis Options")
|
94 |
# sliderbar of how many Top N to choose
|
|
|
85 |
if qid in queries:
|
86 |
del queries[qid]
|
87 |
|
88 |
+
|
89 |
+
data = []
|
90 |
+
for key, value in qrels.items():
|
91 |
+
data.append({"relevant_docs": len(value)})
|
92 |
+
relevant_df = pd.DataFrame(data)
|
93 |
|
94 |
z = st.header("Analysis Options")
|
95 |
# sliderbar of how many Top N to choose
|