-
Notifications
You must be signed in to change notification settings - Fork 10
/
config.py
56 lines (47 loc) · 2.72 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import streamlit as st
# PAGE CONFIG
CSS = open("assets/css/styles.css", 'r').read()
# ASSETS
BACKGROUND = "assets/images/bg.webp"
BANNER = "assets/images/banner.webp"
DEFAULT_IMAGE = "assets/images/default.webp"
SIDE_BANNER = "assets/images/side_banner.webp"
EMOJI = "assets/images/emo.webp"
# PREDICTION PAGE
APOE_CATEGORIES = ['APOE Genotype_2,2', 'APOE Genotype_2,3', 'APOE Genotype_2,4',
'APOE Genotype_3,3', 'APOE Genotype_3,4', 'APOE Genotype_4,4']
PTHETHCAT_CATEGORIES = ['PTETHCAT_Hisp/Latino', 'PTETHCAT_Not Hisp/Latino', 'PTETHCAT_Unknown']
IMPUTED_CATEGORIES = ['imputed_genotype_True', 'imputed_genotype_False']
PTRACCAT_CATEGORIES = ['PTRACCAT_Asian', 'PTRACCAT_Black', 'PTRACCAT_White']
PTGENDER_CATEGORIES = ['PTGENDER_Female', 'PTGENDER_Male']
APOE4_CATEGORIES = ['APOE4_0', 'APOE4_1', 'APOE4_2']
ABBREVIATION = {
"AD": "Alzheimer's Disease ",
"LMCI": "Late Mild Cognitive Impairment ",
"CN": "Cognitively Normal"
}
CONDITION_DESCRIPTION = {
"AD": "This indicates that the individual's data aligns with characteristics commonly associated with "
"Alzheimer's disease. Alzheimer's disease is a progressive neurodegenerative disorder that affects "
"memory and cognitive functions.",
"LMCI": "This suggests that the individual is in a stage of mild cognitive impairment that is progressing "
"towards Alzheimer's disease. Mild Cognitive Impairment is a transitional state between normal "
"cognitive changes of aging a nd more significant cognitive decline.",
"CN": "This suggests that the individual has normal cognitive functioning without significant impairments. "
"This group serves as a control for comparison in Alzheimer's research."
}
# NEWS PAGE
NEWS_API_KEY = st.secrets["NEWS_API"]
KEYWORD = "alzheimer"
# CHATBOT PAGE
HF_EMAIL = st.secrets['HF_GMAIL']
HF_PASS = st.secrets['HF_PASS']
BASE_PROMPT = st.secrets['BASE_PROMPT']
# TEAM MEMBERS PAGE
TEAM_MEMBERS = [
{"name": "Arpit Sengar", "role": "Developer", "links":["https://www.linkedin.com/in/arpitsengar", "https://github.com/arpy8"]},
{"name": "Aditya Bhardwaj", "role": "Developer", "links":["https://www.linkedin.com/in/aditya-bhardwaj-3a6437232/", "https://github.com/adityabhardwajjj"]},
{"name": "Harshit Jain", "role": "Developer", "links":["https://www.linkedin.com/in/harshitjainnn/", "https://github.com/HarshitJainn"]},
{"name": "Siddharth Mohril", "role": "Developer", "links":["https://www.linkedin.com/in/siddharth-mohril-361678250/", "https://github.com/siddharth-mohril"]},
{"name": "Aditya Jain", "role": "Developer", "links":["https://www.linkedin.com/in/chimpyaj/", "https://github.com/ajhasbeensummoned"]},
]