Demosthene-OR commited on
Commit
b2e1c8b
·
1 Parent(s): da18950

Update sentence_similarity_tab.py

Browse files
Files changed (1) hide show
  1. tabs/sentence_similarity_tab.py +1 -1
tabs/sentence_similarity_tab.py CHANGED
@@ -385,7 +385,7 @@ def run():
385
  st.write("")
386
  # Calculate cosine similarity between the two sentences
387
  similarity = cosine_similarity([embeddings[0]], [embeddings[1]])
388
- st.write(f"**Cosine similarity** comprise entre 0 et 1: {similarity[0][0]}")
389
  st.write("")
390
  st.write("")
391
  st.write("")
 
385
  st.write("")
386
  # Calculate cosine similarity between the two sentences
387
  similarity = cosine_similarity([embeddings[0]], [embeddings[1]])
388
+ st.write(tr("**Cosine similarity** comprise entre 0 et 1 :"), similarity[0][0])
389
  st.write("")
390
  st.write("")
391
  st.write("")