Prajith04 commited on
Commit
918bdbe
·
verified ·
1 Parent(s): 10d1e61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):