Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def get_embedding(input_text, user_aspect):
|
|
112 |
return embeddings.detach().numpy()[0]
|
113 |
|
114 |
|
115 |
-
|
116 |
def find_related_papers(paper_id, user_aspect):
|
117 |
with st.spinner('Searching for related papers...'):
|
118 |
paper_id = paper_id.strip() # remove white spaces
|
|
|
112 |
return embeddings.detach().numpy()[0]
|
113 |
|
114 |
|
115 |
+
#@st.cache(show_spinner=False)
|
116 |
def find_related_papers(paper_id, user_aspect):
|
117 |
with st.spinner('Searching for related papers...'):
|
118 |
paper_id = paper_id.strip() # remove white spaces
|