From 67dc74c0b999ebe25d6676e1d24dc668af632b1f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 22:24:55 +0000 Subject: [PATCH 1/2] Bump tornado from 6.4.1 to 6.4.2 in the pip group across 1 directory Bumps the pip group with 1 update in the / directory: [tornado](https://github.com/tornadoweb/tornado). Updates `tornado` from 6.4.1 to 6.4.2 - [Changelog](https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst) - [Commits](https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.2) --- updated-dependencies: - dependency-name: tornado dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3d7a989..a062a9f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -35,7 +35,7 @@ smmap==5.0.1 streamlit==1.40.1 tenacity==9.0.0 toml==0.10.2 -tornado==6.4.1 +tornado==6.4.2 typing_extensions==4.12.2 tzdata==2024.2 urllib3==2.2.3 From 09120c9686b086700ec04155e1c6678d983f7398 Mon Sep 17 00:00:00 2001 From: Alexandros Sigaras Date: Thu, 5 Dec 2024 13:41:10 -0500 Subject: [PATCH 2/2] Added button to the register for dataset --- .streamlit/config.toml | 6 ++++++ README.md | 2 +- css/dashboard.css | 2 +- src/dashboard.py | 2 +- src/tabs/overview.py | 9 ++++++++- 5 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 .streamlit/config.toml diff --git a/.streamlit/config.toml b/.streamlit/config.toml new file mode 100644 index 0000000..3664916 --- /dev/null +++ b/.streamlit/config.toml @@ -0,0 +1,6 @@ +[theme] +primaryColor="#3F51B5" +backgroundColor="#FFFFFF" +secondaryBackgroundColor="#F0F2F6" +textColor="#31333F" +font="sans serif" \ No newline at end of file diff --git a/README.md b/README.md index da058a9..8a2a227 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Docs for the Bridge2AI Voice Project. -[![Github](https://img.shields.io/badge/github-1.3.0-green?style=flat&logo=github)](https://github.com/eipm/bridge2ai-docs) [![Python 3.12.0](https://img.shields.io/badge/python-3.12.0-blue.svg)](https://www.python.org/downloadxs/release/python-3120/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![DOI](https://zenodo.org/badge/860006845.svg)](https://zenodo.org/doi/10.5281/zenodo.13834653) +[![Github](https://img.shields.io/badge/github-1.3.1-green?style=flat&logo=github)](https://github.com/eipm/bridge2ai-docs) [![Python 3.12.0](https://img.shields.io/badge/python-3.12.0-blue.svg)](https://www.python.org/downloadxs/release/python-3120/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![DOI](https://zenodo.org/badge/860006845.svg)](https://zenodo.org/doi/10.5281/zenodo.13834653) ## 🤝 License diff --git a/css/dashboard.css b/css/dashboard.css index 7c3f0be..d3f5505 100644 --- a/css/dashboard.css +++ b/css/dashboard.css @@ -25,7 +25,7 @@ button[data-baseweb="tab"] > div[data-testid="stMarkdownContainer"] > p { } .stTabs [data-baseweb="tab-highlight"] { - border-bottom: 4px solid rgb(255, 75, 75); + border-bottom: 4px solid rgb(63, 81, 181); color: black; } diff --git a/src/dashboard.py b/src/dashboard.py index 87bb761..b1e6ffe 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -40,7 +40,7 @@ def create_tabs(tabs_func): def main(): # Current version of the app - version = "1.3.0" + version = "1.3.1" # Map tab names to functions # In this dictionary, the key is the tab name and the value is the function that will be called when the tab is selected # The function is defined in the respective file diff --git a/src/tabs/overview.py b/src/tabs/overview.py index 8cddb1e..d088531 100644 --- a/src/tabs/overview.py +++ b/src/tabs/overview.py @@ -1,4 +1,9 @@ import streamlit as st +import webbrowser + +# Function to open a URL +def open_url(): + webbrowser.open("https://healthdatanexus.ai/content/b2ai-voice/1.0/") def overview_page(tab_name): st.markdown( @@ -23,4 +28,6 @@ def overview_page(tab_name): **Please Note:** This v1.0.0 of the public data release does not contain pediatric data. It also does not contain an equal distribution of these categories of diseases. Further releases will contain additional data. """ - ) \ No newline at end of file + ) + + st.button("Register for Data Access", type="primary", on_click=open_url, help="Register for Data Access", icon=":material/download:") \ No newline at end of file