awacke1 commited on
Commit
8895a7c
·
1 Parent(s): e150a70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -78,9 +78,9 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
78
  #print(returnMsg)
79
 
80
  try:
81
- top1matchLOINC = json.loads(start_with_searchTermLOINC['train'][0])
82
- top1matchSNOMED = json.loads(start_with_searchTermSNOMED['train'][0])
83
- top1matchCQM = json.loads(start_with_searchTermCQM['train'][0])
84
  except:
85
  print(start_with_searchTermLOINC[0])
86
  print(start_with_searchTermSNOMED[0] )
 
78
  #print(returnMsg)
79
 
80
  try:
81
+ top1matchLOINC = json.loads(start_with_searchTermLOINC['train'])
82
+ top1matchSNOMED = json.loads(start_with_searchTermSNOMED['train'])
83
+ top1matchCQM = json.loads(start_with_searchTermCQM['train'])
84
  except:
85
  print(start_with_searchTermLOINC[0])
86
  print(start_with_searchTermSNOMED[0] )