Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| import pickle | |
| import pandas | |
| # from sentence_transformers import SentenceTransformer, util | |
| st.title('Arxiv Paper Recommendation') | |
| text_input = st.text_input( | |
| "Enter the title of any paper you like 👇", | |
| placeholder = "Paper title of your choice" | |
| ) | |
| print(text_input) | |
| # Calculating the similarity between titles | |
| # cosine_scores = util.cos_sim(embeddings, model.encode(paper_you_like)) | |
| # print(cosine_scores) | |