Spaces:
Sleeping
Sleeping
update: Refactored same type quotes inside an f-string.
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def main():
|
|
49 |
|
50 |
for score, idx in zip(top_results_dot_product[0], top_results_dot_product[1]):
|
51 |
st.write(f"### Score: {score:.4f}")
|
52 |
-
st.write(f"**Text:** {df.iloc[int(idx)][
|
53 |
st.write(f"**Number of tokens:** {df.iloc[int(idx)]['tokens']}")
|
54 |
st.write("---")
|
55 |
|
|
|
49 |
|
50 |
for score, idx in zip(top_results_dot_product[0], top_results_dot_product[1]):
|
51 |
st.write(f"### Score: {score:.4f}")
|
52 |
+
st.write(f"**Text:** {df.iloc[int(idx)]['ext']}")
|
53 |
st.write(f"**Number of tokens:** {df.iloc[int(idx)]['tokens']}")
|
54 |
st.write("---")
|
55 |
|