diff --git a/README.md b/README.md index 25f5065..444f9c5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ -Bridge2AI Voice Logo +

+ B2Ai Voice Logo + B2Ai Voice Logo
+ Voice as a Biomarker of Health +

# bridge2ai-docs Docs for the Bridge2AI Voice Project. -[![GitHub](https://img.shields.io/badge/github-2.0.3-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/downloads/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-2.0.4-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/downloads/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/images/B2AI Logo.ico b/images/B2AI Logo.ico index 00662cb..b7f83e2 100644 Binary files a/images/B2AI Logo.ico and b/images/B2AI Logo.ico differ diff --git a/images/B2AI Logo.png b/images/B2AI Logo.png index 74b7b02..8f06ac7 100644 Binary files a/images/B2AI Logo.png and b/images/B2AI Logo.png differ diff --git a/images/main_logo_black.svg b/images/main_logo_black.svg new file mode 100644 index 0000000..583d6b3 --- /dev/null +++ b/images/main_logo_black.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/images/main_logo_white.svg b/images/main_logo_white.svg new file mode 100644 index 0000000..b5aa5ae --- /dev/null +++ b/images/main_logo_white.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/tabs/dashboard_data/dashboard_data.json b/src/tabs/dashboard_data/dashboard_data.json new file mode 100644 index 0000000..e8ffa5a --- /dev/null +++ b/src/tabs/dashboard_data/dashboard_data.json @@ -0,0 +1,145 @@ +{ + "number_of_participants": 442, + "number_of_recordings": 16738, + "control": { + "Yes": 64, + "No": 378 + }, + "gender_identity": { + "Female gender identity": 260, + "Male gender identity": 177, + "Prefer not to answer": 3 + }, + "sexual_orientation": { + "Heterosexual": 377, + "Bisexual": 22, + "Prefer not to answer": 21, + "Homosexual": 15, + "Other": 5 + }, + "race": { + "American Indian or Alaska Native": 1, + "Asian": 28, + "Black or African American": 33, + "Native Hawaiian or other Pacific Islander": 2, + "White": 341, + "Canadian Indigenous or Aboriginal": 0, + "Other": 10, + "Prefer not to answer": 14, + "Multiple Races": 11 + }, + "ethnicity": { + "Not Hispanic or Latino": 391, + "Hispanic or Latino": 25, + "Prefer not to answer": 24 + }, + "age_groups": { + "0-9": 0, + "10-19": 4, + "20-29": 39, + "30-39": 28, + "40-49": 42, + "50-59": 73, + "60-69": 101, + "70-79": 117, + "80-89": 36, + "90 and above": 2 + }, + "primary_language": { + "English": 436, + "Spanish": 1, + "Other": 5 + }, + "disorder_types": { + "Voice Disorders": 96, + "Neurological and Neurodegenerative Disorders": 70, + "Mood and Psychiatric Disorders": 22, + "Respiratory Disorders": 77, + "Multiple Disorders": 177 + }, + "voice_disorders_category": { + "Glottic Insufficiency / Presbyphonia": 2, + "Laryngeal Cancer": 8, + "Laryngitis": 11, + "Lesions of the vocal cord (nodule, polyp, cyst)": 37, + "Muscle Tension Dysphonia (MTD)": 36, + "Recurrent Laryngeal Papilloma (RRP)": 4, + "Spasmodic Dysphonia / Laryngeal Tremor": 49, + "Unilateral Vocal Fold Paralysis": 39 + }, + "neurological_and_neurodegenerative_disorders_category": { + "Alzheimer's, Dementia, or Mild Cognitive Impairment": 42, + "Amyotrophic Lateral Sclerosis (ALS)": 0, + "Huntington's Disease": 0, + "Parkinson's disease": 61 + }, + "mood_and_psychiatric_disorders_category": { + "Alcohol or Substance Use Disorder": 4, + "Anxiety Disorder": 49, + "Attention-Deficit / Hyperactivity Disorder (ADHD)": 12, + "Autism Spectrum Disorder (ASD)": 0, + "Bipolar Disorder": 11, + "Borderline Personality Disorder (BPD)": 3, + "Depression or Major Depressive Disorder": 52, + "Eating Disorder (ED)": 1, + "Insomnia / Sleep Disorder": 12, + "Obsessive-Compulsive Disorder (OCD)": 3, + "Panic Disorder": 2, + "Post-Traumatic Stress Disorder (PTSD)": 10, + "Schizophrenia": 0, + "Social Anxiety Disorder": 6, + "Other Psychiatric Disorder": 6 + }, + "respiratory_disorders_category": { + "Asthma": 44, + "Airway Stenosis (for example: bilateral vocal fold paralysis; laryngeal stenosis)": 69, + "Chronic Cough": 40, + "COPD": 16, + "Obstructive Sleep Apnea (OSA)": 44 + }, + "total_hours_of_recordings": 86.13216666666669, + "questionnaire_collected": { + "Q Mood Participant History": 35, + "Q Generic Voice Perception": 477, + "Q Generic Voice Handicap Index Vhi10": 474, + "Q Generic Patient Health Questionnaire9": 475, + "Q Generic Demographics": 485, + "Q Generic Confounders": 480, + "Q - Voice - Voice Problem Severity": 217, + "Q - Resp - Leicester Cough Questionnaire Lcq": 176, + "Q - Resp - Dyspnea Index Di": 177, + "Q - Neuro Winograd Schemas": 149, + "Q - Neuro - Wordcolor Stroop": 151, + "Q - Neuro - Random Item Generation": 150, + "Q - Neuro - Productive Vocabulary": 140, + "Q - Mood - Ptsd Adult": 93, + "Q - Mood - Panas": 95, + "Q - Mood - Dsm5 Adult": 84, + "Q - Mood - Custom Affect Scale": 95, + "Q - Mood - Adhd Adult": 93, + "Q - Generic - Gad7 Anxiety": 473 + }, + "acoustic_task_collected": { + "Word-color Stroop - neurology": 151, + "Voluntary Cough - respiratory": 179, + "Story recall - generic": 478, + "Respiration and cough - generic": 478, + "Random Item Generation - neurology": 150, + "Rainbow Passage - generic": 481, + "Prolonged vowel - generic": 482, + "Productive Vocabulary - neurology": 151, + "Picture description - generic": 476, + "Open response questions - mood": 96, + "Maximum phonation time - generic": 481, + "Loudness - generic": 481, + "Glides - generic": 482, + "Free speech - generic": 480, + "Free Speech - voice": 217, + "Diadochokinesis - generic": 481, + "Cinderella Story - neurology": 151, + "Caterpillar Passage - voice": 219, + "Cape V sentences - voice": 219, + "Breath Sounds - respiratory": 179, + "Animal fluency - mood": 95 + } +} \ No newline at end of file diff --git a/src/tabs/utils.py b/src/tabs/utils.py index 16ea964..c910e72 100644 --- a/src/tabs/utils.py +++ b/src/tabs/utils.py @@ -89,11 +89,7 @@ def create_html_table(csv_file_path, caption=None, cell_values=[], column_index= def load_data(): # Read the JSON object from the file - docs_data_path = os.getenv('DOCS_DATA_PATH') - file_path = 'dashboard_data.json' - if docs_data_path is not None: - file_path = os.path.join(docs_data_path, file_path) - + file_path = os.path.join('src', 'tabs', 'dashboard_data', 'dashboard_data.json') # Check if the file path is valid and the file exists if not os.path.isfile(file_path): st.warning(f"The file at path {file_path} does not exist. Data is unavailable.")