|
|
|
import streamlit as st |
|
from PIL import Image |
|
|
|
|
|
st.set_page_config( |
|
page_title="ETDs Tagging", |
|
page_icon="", |
|
layout="wide" |
|
) |
|
st.title('ETDs Tagging Tool') |
|
st.sidebar.success('Select page above') |
|
|
|
|
|
mt1, mt2, mt3 = st.tabs(["About", "How to", "Behind this app"]) |
|
|
|
with mt1: |
|
st.header("π Hello ") |
|
st.write('You can tag your input CSV file of theses and dissertations with Library Science, Archival Studies, and Information Science categories. The screen will show the output.') |
|
st.text('') |
|
st.text('') |
|
st.text('') |
|
st.text('') |
|
st.divider() |
|
st.error("This app works on CSV file having 'Abstract' field", icon="π¨") |
|
|
|
with mt2: |
|
st.header("Before you start") |
|
option = st.selectbox( |
|
'Please choose....', |
|
('Tagging Categories', 'Tagging Sub-Categories')) |
|
|
|
if option == 'Tagging Categories': |
|
tab1 = st.tabs(["Prologue"]) |
|
with tab1: |
|
st.text(""" |
|
+----------------+------------------------+---------------------------------+ |
|
| S.No. | Category name | |
|
+----------------+------------------------+---------------------------------+ |
|
| 1 | Library Science | |
|
+----------------+------------------------+---------------------------------+ |
|
| 2 | Information Science | |
|
+----------------+------------------------+---------------------------------+ |
|
| 3 | Archival Studies ' | |
|
+----------------+------------------------+---------------------------------+ |
|
""") |
|
|
|
with mt3: |
|
st.header('Behind this app') |
|
st.subheader('Dr. Manika Lamba') |
|
st.text('Elected Standing Committee Member & Chair of Professional Development Sub-Committee at IFLA STL Section | Editor-in-Chief for IJLIS (IGI Global).') |
|
st.text('') |
|
st.text('') |
|
st.divider() |
|
|