tushifire commited on
Commit
4314e20
1 Parent(s): 2be0626

titile added

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1,12 +1,12 @@
1
  import streamlit as st
 
 
2
 
3
 
4
- x = st.slider('Select a value')
5
- st.write(x, 'squared is', x * x)
6
-
7
- from sentence_transformers import SentenceTransformer, util
8
 
9
 
 
10
  text_input = st.text_input(
11
  "Enter the title of any paper you like 👇",
12
  placeholder = "Paper title of your choice"
@@ -14,10 +14,10 @@ text_input = st.text_input(
14
 
15
  print(text_input)
16
 
17
- import pickle
18
 
19
  # Calculating the similarity between titles
20
- cosine_scores = util.cos_sim(embeddings, model.encode(paper_you_like))
21
 
22
- print(cosine_scores)
23
 
 
1
  import streamlit as st
2
+ import pickle
3
+ import pandas
4
 
5
 
6
+ # from sentence_transformers import SentenceTransformer, util
 
 
 
7
 
8
 
9
+ st.title('Arxiv Paper Recommendation')
10
  text_input = st.text_input(
11
  "Enter the title of any paper you like 👇",
12
  placeholder = "Paper title of your choice"
 
14
 
15
  print(text_input)
16
 
17
+
18
 
19
  # Calculating the similarity between titles
20
+ # cosine_scores = util.cos_sim(embeddings, model.encode(paper_you_like))
21
 
22
+ # print(cosine_scores)
23