tushifire commited on
Commit
0b88ede
·
1 Parent(s): e8cf453

Cleaning unwanted prints

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ paper_you_like = st.text_input(
13
  placeholder = "Attention is all you need"
14
  )
15
 
16
- print(paper_you_like)
17
 
18
  with open('sentences.pkl', 'rb') as f:
19
  sentences = pickle.load(f)
@@ -31,7 +31,7 @@ cosine_scores = util.cos_sim(embeddings, model.encode(paper_you_like))
31
 
32
 
33
  top_similar_papers = torch.topk(cosine_scores,dim=0, k=5,sorted=True)
34
- top_similar_papers
35
 
36
  # s = ''
37
 
 
13
  placeholder = "Attention is all you need"
14
  )
15
 
16
+ # print(paper_you_like)
17
 
18
  with open('sentences.pkl', 'rb') as f:
19
  sentences = pickle.load(f)
 
31
 
32
 
33
  top_similar_papers = torch.topk(cosine_scores,dim=0, k=5,sorted=True)
34
+ # top_similar_papers
35
 
36
  # s = ''
37