awacke1 commited on
Commit
0db17c4
·
1 Parent(s): 15ad948

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ def MatchOMS(name):
36
 
37
  def MatchICD10(name):
38
  basedir = os.path.dirname(__file__)
39
- data = pd.read_csv(f'icd10cm_codes_2022.txt')
40
- swith=data.loc[data[0].str.contains(name, case=False, na=False)]
41
  return swith
42
 
43
 
 
36
 
37
  def MatchICD10(name):
38
  basedir = os.path.dirname(__file__)
39
+ data = pd.read_csv(f'ICD10Diagnosis.csv')
40
+ swith=data.loc[data[1].str.contains(name, case=False, na=False)]
41
  return swith
42
 
43