Federico Galatolo
commited on
Commit
•
f05f72b
1
Parent(s):
717aa8f
better description
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ results = [result["_source"] for result in results["hits"]["hits"]]
|
|
70 |
documents = {f"{result['title']} - {result['author']}": result['id'] for result in results}
|
71 |
|
72 |
st.sidebar.title("Semantic compare")
|
73 |
-
st.sidebar.write("Select
|
74 |
multiselect = st.sidebar.multiselect("Documents", list(documents.keys()))
|
75 |
model = st.sidebar.selectbox("Model", ["LaBSE"])
|
76 |
limit = st.sidebar.number_input("Sentences per document", 1000)
|
|
|
70 |
documents = {f"{result['title']} - {result['author']}": result['id'] for result in results}
|
71 |
|
72 |
st.sidebar.title("Semantic compare")
|
73 |
+
st.sidebar.write("Select documents from the SERICA library to semantically compare them. Hover above the data points to see the respective sentences")
|
74 |
multiselect = st.sidebar.multiselect("Documents", list(documents.keys()))
|
75 |
model = st.sidebar.selectbox("Model", ["LaBSE"])
|
76 |
limit = st.sidebar.number_input("Sentences per document", 1000)
|