diff --git a/src/dashboard.py b/src/dashboard.py index b1e6ffe..1cc95fa 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.1" + version = "1.3.2" # 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 d088531..e5e7bd8 100644 --- a/src/tabs/overview.py +++ b/src/tabs/overview.py @@ -1,9 +1,4 @@ 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( @@ -30,4 +25,4 @@ def overview_page(tab_name): """ ) - 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 + st.link_button("Register for Data Access", type="primary", url="https://healthdatanexus.ai/content/b2ai-voice/1.0/", help="Register for Data Access", icon=":material/download:") \ No newline at end of file