faizhalas commited on
Commit
9c37c53
·
verified ·
1 Parent(s): c01e186

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +4 -3
Home.py CHANGED
@@ -71,7 +71,8 @@ if text_search:
71
  col1, col2 = st.columns(2)
72
  col1.caption(f"**{row['Journal'].strip()}**")
73
  col2.caption(f"{row['Year'].strip()} - {row['Volume'].strip()}, {row['Issue'].strip()}")
74
- st.markdown(f"**Title: ** *{row['Title'].strip()}*")
75
  st.markdown(f"**{row['Authors'].strip()}**")
76
- expander = st.expander("Abstract (en)")
77
- expander.write(row['Abstract (en)'].strip() if row['Abstract (en)'] else "No abstract available.")
 
 
71
  col1, col2 = st.columns(2)
72
  col1.caption(f"**{row['Journal'].strip()}**")
73
  col2.caption(f"{row['Year'].strip()} - {row['Volume'].strip()}, {row['Issue'].strip()}")
74
+ st.markdown(f"**{row['Title'].strip()}**")
75
  st.markdown(f"**{row['Authors'].strip()}**")
76
+
77
+ popover = st.popover("Abstract", icon="🚨", help="Click to Read Abstract")
78
+ popover.write(row['Abstract (en)'].strip() if row['Abstract (en)'] else "No abstract available.")