kiyer commited on
Commit
f2f9cd1
·
verified ·
1 Parent(s): dfbdf18

reroute to pubmed links

Browse files
Files changed (1) hide show
  1. app_gradio.py +1 -1
app_gradio.py CHANGED
@@ -279,7 +279,7 @@ class RetrievalSystem():
279
 
280
  df = pd.DataFrame(small_df)
281
  df = df.drop(columns=['umap_x','umap_y','cite_bibcodes','ref_bibcodes'])
282
- links = ['['+i+'](https://ui.adsabs.harvard.edu/abs/'+i+'/abstract)' for i in small_df['bibcode']]
283
 
284
  # st.write(top_results[0:10])
285
  scores = [top_results[i] for i in top_results]
 
279
 
280
  df = pd.DataFrame(small_df)
281
  df = df.drop(columns=['umap_x','umap_y','cite_bibcodes','ref_bibcodes'])
282
+ links = ['['+i+'](https://pubmed.ncbi.nlm.nih.gov/'+i+'/)' for i in small_df['bibcode']]
283
 
284
  # st.write(top_results[0:10])
285
  scores = [top_results[i] for i in top_results]