awacke1 commited on
Commit
3f477c5
·
1 Parent(s): 0d0fbe9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -64,8 +64,17 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
64
  start_with_searchTermSNOMED = datasetSNOMED.filter(lambda example: example["Description"].startswith('Hospital')) #Hospital
65
  start_with_searchTermCQM = dataseteCQM.filter(lambda example: example["Description"].startswith('Telephone')) #Telephone
66
 
 
 
 
 
 
 
 
 
67
  returnMsg=profile_dataset()
68
  print(returnMsg)
 
69
  try:
70
  top1matchLOINC = json.loads(start_with_searchTermLOINC['train'][0])
71
  top1matchSNOMED = json.loads(start_with_searchTermSNOMED['train'][0])
 
64
  start_with_searchTermSNOMED = datasetSNOMED.filter(lambda example: example["Description"].startswith('Hospital')) #Hospital
65
  start_with_searchTermCQM = dataseteCQM.filter(lambda example: example["Description"].startswith('Telephone')) #Telephone
66
 
67
+ print(start_with_searchTermLOINC )
68
+ print(start_with_searchTermSNOMED )
69
+ print(start_with_searchTermCQM)
70
+
71
+ print(start_with_searchTermLOINC["train"][0] )
72
+ print(start_with_searchTermSNOMED["train"][0] )
73
+ print(start_with_searchTermCQM["train"][0] )
74
+
75
  returnMsg=profile_dataset()
76
  print(returnMsg)
77
+
78
  try:
79
  top1matchLOINC = json.loads(start_with_searchTermLOINC['train'][0])
80
  top1matchSNOMED = json.loads(start_with_searchTermSNOMED['train'][0])