Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def find_disease_list(query: SymptomQuery):
|
|
112 |
for i in range(len(symptoms_list)):
|
113 |
for j in range(len(symptoms_list[i])):
|
114 |
if symptoms_list[i][j] not in unique_symptoms_list:
|
115 |
-
unique_symptoms_list.append(symptoms_list[i][j])
|
116 |
return {"disease_list": disease_list, "unique_symptoms_list": unique_symptoms_list}
|
117 |
|
118 |
class SelectedSymptomsQuery(BaseModel):
|
|
|
112 |
for i in range(len(symptoms_list)):
|
113 |
for j in range(len(symptoms_list[i])):
|
114 |
if symptoms_list[i][j] not in unique_symptoms_list:
|
115 |
+
unique_symptoms_list.append(symptoms_list[i][j].lower())
|
116 |
return {"disease_list": disease_list, "unique_symptoms_list": unique_symptoms_list}
|
117 |
|
118 |
class SelectedSymptomsQuery(BaseModel):
|