Spaces:
Running
Running
reroute to pubmed links
Browse files- 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://
|
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]
|