Skip to content

Commit

Permalink
Merge pull request #31 from eipm/develop
Browse files Browse the repository at this point in the history
v1.3.1
  • Loading branch information
jmtang2018 authored Dec 5, 2024
2 parents a62351a + 09120c9 commit 7798a02
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .streamlit/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[theme]
primaryColor="#3F51B5"
backgroundColor="#FFFFFF"
secondaryBackgroundColor="#F0F2F6"
textColor="#31333F"
font="sans serif"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 8 additions & 1 deletion src/tabs/overview.py
Original file line number Diff line number Diff line change
@@ -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(
Expand All @@ -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.
"""
)
)

st.button("Register for Data Access", type="primary", on_click=open_url, help="Register for Data Access", icon=":material/download:")

0 comments on commit 7798a02

Please sign in to comment.