ahmed-7124 commited on
Commit
9a34930
·
verified ·
1 Parent(s): 77e2743

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -53
app.py CHANGED
@@ -37,18 +37,6 @@ disease_details = {
37
  ),
38
  "doctor": "Hematologist",
39
  },
40
- "viral infection": {
41
- "medication": (
42
- "Antiviral drugs (e.g., oseltamivir for flu, acyclovir for herpes). "
43
- "Over-the-counter medications for symptom relief, such as ibuprofen for fever and body aches."
44
- ),
45
- "precaution": (
46
- "Stay hydrated by drinking plenty of fluids. "
47
- "Isolate to prevent spreading the infection. "
48
- "Rest adequately to support recovery. Maintain proper hygiene."
49
- ),
50
- "doctor": "Infectious Disease Specialist",
51
- },
52
  "liver disease": {
53
  "medication": (
54
  "Hepatoprotective drugs (e.g., ursodeoxycholic acid, silymarin). "
@@ -105,20 +93,6 @@ disease_details = {
105
  ),
106
  "doctor": "Pulmonologist",
107
  },
108
- "asthma": {
109
- "medication": (
110
- "Short-acting bronchodilators (e.g., albuterol) for quick relief. "
111
- "Inhaled corticosteroids (e.g., fluticasone) for long-term control. "
112
- "Leukotriene receptor antagonists (e.g., montelukast) for reducing inflammation."
113
- ),
114
- "precaution": (
115
- "Avoid known allergens like pollen, dust, and pet dander. "
116
- "Carry a rescue inhaler at all times. "
117
- "Practice breathing exercises to strengthen lungs. "
118
- "Avoid cold air or strenuous exercise without a warm-up."
119
- ),
120
- "doctor": "Pulmonologist",
121
- },
122
  "kidney disease": {
123
  "medication": (
124
  "ACE inhibitors or ARBs (e.g., losartan) for controlling blood pressure. "
@@ -133,33 +107,6 @@ disease_details = {
133
  ),
134
  "doctor": "Nephrologist",
135
  },
136
- "thyroid disorder": {
137
- "medication": (
138
- "Levothyroxine for hypothyroidism. "
139
- "Antithyroid medications (e.g., methimazole) for hyperthyroidism. "
140
- "Beta-blockers for symptomatic relief in hyperthyroidism."
141
- ),
142
- "precaution": (
143
- "Ensure regular thyroid function tests. "
144
- "Avoid foods that interfere with thyroid hormone absorption (e.g., soy, certain vegetables). "
145
- "Follow medication schedules precisely without skipping doses."
146
- ),
147
- "doctor": "Endocrinologist",
148
- },
149
- "arthritis": {
150
- "medication": (
151
- "Nonsteroidal anti-inflammatory drugs (NSAIDs) for pain relief. "
152
- "Disease-modifying antirheumatic drugs (DMARDs) for rheumatoid arthritis. "
153
- "Biologics (e.g., adalimumab) in severe cases."
154
- ),
155
- "precaution": (
156
- "Engage in low-impact exercises like swimming or yoga. "
157
- "Use ergonomic furniture to reduce joint strain. "
158
- "Maintain a healthy weight to reduce joint stress. "
159
- "Apply heat or cold therapy for symptom relief."
160
- ),
161
- "doctor": "Rheumatologist",
162
- },
163
  "depression": {
164
  "medication": (
165
  "Selective serotonin reuptake inhibitors (SSRIs, e.g., sertraline). "
 
37
  ),
38
  "doctor": "Hematologist",
39
  },
 
 
 
 
 
 
 
 
 
 
 
 
40
  "liver disease": {
41
  "medication": (
42
  "Hepatoprotective drugs (e.g., ursodeoxycholic acid, silymarin). "
 
93
  ),
94
  "doctor": "Pulmonologist",
95
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  "kidney disease": {
97
  "medication": (
98
  "ACE inhibitors or ARBs (e.g., losartan) for controlling blood pressure. "
 
107
  ),
108
  "doctor": "Nephrologist",
109
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  "depression": {
111
  "medication": (
112
  "Selective serotonin reuptake inhibitors (SSRIs, e.g., sertraline). "