Spaces:
Sleeping
Sleeping
Commit
·
c319aca
1
Parent(s):
4b945ef
adding the util library
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ st.markdown(' - Description: We want to classify sentences into a predefined set
|
|
8 |
st.markdown('## A quick test')
|
9 |
st.markdown('As a test we can create an embedding for a movie title and explore each component with the slider. Have fun!')
|
10 |
|
11 |
-
from sentence_transformers import SentenceTransformer
|
12 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
13 |
|
14 |
input_sentence = st.text_input('Sentence', 'This is a test for a news article')
|
|
|
8 |
st.markdown('## A quick test')
|
9 |
st.markdown('As a test we can create an embedding for a movie title and explore each component with the slider. Have fun!')
|
10 |
|
11 |
+
from sentence_transformers import SentenceTransformer, util
|
12 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
13 |
|
14 |
input_sentence = st.text_input('Sentence', 'This is a test for a news article')
|