Skip to content

Commit

Permalink
Add metadata to app
Browse files Browse the repository at this point in the history
  • Loading branch information
YojanaGadiya committed Sep 10, 2024
1 parent 3e851ed commit 37bfc19
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions AMR-KG_Database.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@
initial_sidebar_state="auto",
)

# Customize sidebar
markdown = """
**Info**: This is AMR-KG repository and the broad-spectrum prediction models trained on the datasets.
This work was done under the IMI project COMBINE.
**Developers**:
* [Yojana Gadiya](https://orcid.org/0000-0002-7683-0452)
* [Andrea Zaliani](https://orcid.org/0000-0002-1740-8390)
* [Philip Gribbon](https://orcid.org/0000-0001-7655-2459)
**External links**:
* [GitHub](https://github.com/IMI-COMBINE/broad_spectrum_prediction)
* [Website](https://www.itmp.fraunhofer.de/)
"""

st.sidebar.title("About")
st.sidebar.markdown(markdown)
st.sidebar.image("data/COMBINE_logo.jpg")

st.markdown(
"<h1 style='text-align: center; color: #78bc1e;'>AMR-KG Database</h1>",
unsafe_allow_html=True,
Expand All @@ -29,6 +48,10 @@
color: #1e85bc;
}
sidebar .sidebar-content {
background-color: #111 !important;
}
[data-testid="column"]:nth-child(1){background-color: #78bc1e;}
[data-testid="column"]:nth-child(2){background-color: #78bc1e;}
[data-testid="column"]:nth-child(3){background-color: #78bc1e;}
Expand Down Expand Up @@ -183,7 +206,5 @@ def convert_df(df):
)

# Publucation note
# with st.expander("Check out our publication for more deatils "):
# st.write(
# """"""
# )
with st.expander("Check out our publication for more deatils "):
st.write("""Manuscript in preparation. Please check back soon for more details.""")
Binary file added data/COMBINE_logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 37bfc19

Please sign in to comment.