Spaces:
Runtime error
Runtime error
Trent
commited on
Commit
·
21c260a
1
Parent(s):
883e41e
Cluster name
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from backend.config import MODELS_ID, QA_MODELS_ID, SEARCH_MODELS_ID
|
|
| 7 |
st.title('Demo using Flax-Sentence-Tranformers')
|
| 8 |
|
| 9 |
st.sidebar.title('Tasks')
|
| 10 |
-
menu = st.sidebar.radio("", options=["Sentence Similarity", "Asymmetric QA", "Search"], index=0)
|
| 11 |
|
| 12 |
st.markdown('''
|
| 13 |
|
|
@@ -96,8 +96,8 @@ For more cool information on sentence embeddings, see the [sBert project](https:
|
|
| 96 |
st.write('Visualize the results of each model:')
|
| 97 |
st.line_chart(df_total)
|
| 98 |
|
| 99 |
-
elif menu == "Search":
|
| 100 |
-
st.header('
|
| 101 |
st.markdown('''
|
| 102 |
**Instructions**: Make a query for anything related to "Python" and the model you choose will return you similar queries.
|
| 103 |
|
|
|
|
| 7 |
st.title('Demo using Flax-Sentence-Tranformers')
|
| 8 |
|
| 9 |
st.sidebar.title('Tasks')
|
| 10 |
+
menu = st.sidebar.radio("", options=["Sentence Similarity", "Asymmetric QA", "Search / Cluster"], index=0)
|
| 11 |
|
| 12 |
st.markdown('''
|
| 13 |
|
|
|
|
| 96 |
st.write('Visualize the results of each model:')
|
| 97 |
st.line_chart(df_total)
|
| 98 |
|
| 99 |
+
elif menu == "Search / Cluster":
|
| 100 |
+
st.header('Search / Cluster')
|
| 101 |
st.markdown('''
|
| 102 |
**Instructions**: Make a query for anything related to "Python" and the model you choose will return you similar queries.
|
| 103 |
|