Spaces:
Sleeping
Sleeping
Commit
·
6f9f902
1
Parent(s):
a8114b5
trying one change
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ embedding_input_topic = model.encode(input_topic)
|
|
| 33 |
|
| 34 |
cos_scores = util.cos_sim(embedding_input_topic, embedding_sentence)[0][0]
|
| 35 |
|
| 36 |
-
st.write('Score for topic', input_topic, ':', cos_scores.numpy())
|
| 37 |
|
| 38 |
st.markdown('## ')
|
| 39 |
uploaded_file1 = st.file_uploader("Choose a file: sentence list")
|
|
|
|
| 33 |
|
| 34 |
cos_scores = util.cos_sim(embedding_input_topic, embedding_sentence)[0][0]
|
| 35 |
|
| 36 |
+
st.write('Score for topic', input_topic, ':', cos_scores.numpy()[0])
|
| 37 |
|
| 38 |
st.markdown('## ')
|
| 39 |
uploaded_file1 = st.file_uploader("Choose a file: sentence list")
|