Update app.py
Browse files
app.py
CHANGED
@@ -116,21 +116,44 @@ with st.sidebar:
|
|
116 |
DATA_PATH = st.text_input("Data Path", value='data/custom_dataset.csv')
|
117 |
|
118 |
# Predefined list of symptoms
|
119 |
-
symptoms = [
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
|
135 |
# Input section with multiselect for symptoms
|
136 |
st.header("📝 Enter Patient Symptoms")
|
|
|
116 |
DATA_PATH = st.text_input("Data Path", value='data/custom_dataset.csv')
|
117 |
|
118 |
# Predefined list of symptoms
|
119 |
+
symptoms = ["Acne", "Anxiety", "Depression", "High blood pressure", "Diabetes", "Migraine",
|
120 |
+
"Cough", "Wheezing", "Shortness of breath", "Fever", "Fatigue", "Frequent urination",
|
121 |
+
"Painful urination", "Chest pain", "Headache", "Nausea", "Dizziness", "Skin rash",
|
122 |
+
"Insomnia", "Difficulty concentrating", "Hyperactivity", "Irritability", "Weight gain",
|
123 |
+
"Weight loss", "Blurred vision", "Increased thirst", "Increased hunger", "Joint pain",
|
124 |
+
"Swelling", "Stress", "Mood swings", "Back pain", "Abdominal pain", "Irregular menstruation",
|
125 |
+
"Heavy menstrual bleeding", "Missed periods", "Breast tenderness", "Nausea after eating",
|
126 |
+
"Heart palpitations", "Cold sweats", "Night sweats", "Dry mouth", "Frequent infections",
|
127 |
+
"Slow healing wounds", "Tingling in hands or feet", "Numbness in extremities", "Loss of appetite",
|
128 |
+
"Excessive sweating", "Rapid heartbeat", "Chest tightness", "Nasal congestion", "Sinus pressure",
|
129 |
+
"Sore throat", "Runny nose", "Chills", "Muscle aches", "Confusion", "Memory problems",
|
130 |
+
"Low energy", "Feeling hopeless", "Loss of interest in activities", "Suicidal thoughts",
|
131 |
+
"Restlessness", "Aggression", "Impulsivity", "Poor coordination", "Frequent urination at night",
|
132 |
+
"Blood in urine", "Cloudy urine", "Pelvic pain", "Lower back pain", "Burning sensation during urination",
|
133 |
+
"Foul-smelling urine", "Itching or irritation in the genital area", "Redness or swelling in the genital area",
|
134 |
+
"White patches on the skin", "Blackheads", "Whiteheads", "Oily skin", "Dry skin", "Skin discoloration",
|
135 |
+
"Flaky skin", "Sensitivity to light", "Sensitivity to sound", "Aura (visual disturbances)", "Neck pain",
|
136 |
+
"Stiff neck", "Sensitivity to smells", "Loss of balance", "Ringing in the ears", "Frequent yawning",
|
137 |
+
"Excessive thirst at night", "Frequent nighttime urination", "Dark patches on the skin", "Frequent headaches",
|
138 |
+
"Eye pain", "Blurry vision", "Double vision", "Eye redness", "Eye swelling", "Eye discharge", "Ear pain",
|
139 |
+
"Ear discharge", "Hearing loss", "Tinnitus", "Jaw pain", "Tooth sensitivity", "Gum bleeding", "Bad breath",
|
140 |
+
"Swollen lymph nodes", "Hoarseness", "Difficulty swallowing", "Chronic cough", "Blood in sputum",
|
141 |
+
"Rapid breathing", "Shallow breathing", "Chest congestion", "Phlegm production", "Nasal discharge",
|
142 |
+
"Postnasal drip", "Facial pain", "Facial swelling", "Tenderness in the face", "Toothache", "Jaw stiffness",
|
143 |
+
"Difficulty opening the mouth", "Difficulty chewing", "Difficulty speaking", "Difficulty breathing through the nose",
|
144 |
+
"Loss of taste", "Loss of smell", "Metallic taste in the mouth", "Dry eyes", "Watery eyes", "Itchy eyes",
|
145 |
+
"Itchy skin", "Hives", "Swollen joints", "Stiff joints", "Redness in joints", "Warmth in joints",
|
146 |
+
"Difficulty moving joints", "Cracking or popping in joints", "Weakness in muscles", "Muscle cramps",
|
147 |
+
"Muscle spasms", "Tremors", "Seizures", "Fainting", "Lightheadedness", "Pale skin", "Yellowing of the skin",
|
148 |
+
"Bruising easily", "Slow heart rate", "High heart rate", "Irregular heartbeat", "Low blood pressure",
|
149 |
+
"High blood sugar", "Low blood sugar", "Excessive hunger", "Excessive thirst", "Frequent infections in the urinary tract",
|
150 |
+
"Frequent infections in the respiratory tract", "Frequent infections in the skin", "Frequent infections in the ears",
|
151 |
+
"Frequent infections in the eyes", "Frequent infections in the mouth", "Frequent infections in the throat",
|
152 |
+
"Frequent infections in the sinuses", "Frequent infections in the lungs", "Frequent infections in the digestive system",
|
153 |
+
"Frequent infections in the reproductive system", "Frequent infections in the urinary system",
|
154 |
+
"Frequent infections in the nervous system", "Frequent infections in the circulatory system",
|
155 |
+
"Frequent infections in the immune system"]
|
156 |
+
|
157 |
|
158 |
# Input section with multiselect for symptoms
|
159 |
st.header("📝 Enter Patient Symptoms")
|