awacke1 commited on
Commit
a55c7ff
·
1 Parent(s): e7d4b75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -38,8 +38,7 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
38
  # np.flipud(im1) if im1 is not None else os.path.join(os.path.dirname(__file__), "files/cheetah1.jpg"), # Image
39
  # video if video is not None else os.path.join(os.path.dirname(__file__), "files/world.mp4"), # Video
40
  [
41
- (start_with_ar = datasetLOINC.filter(lambda example: example["Description"].startswith("Mental health"))
42
- ),
43
  ("The", "art"),
44
  ("quick brown", "adj"),
45
  ("fox", "nn"),
@@ -53,8 +52,7 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
53
  (".", "punc"),
54
  ] + [(f"test {x}", f"test {x}") for x in range(10)], # HighlightedText
55
  [
56
- (start_with_ar = datasetLOINC.filter(lambda example: example["Description"].startswith("Mental health"))
57
- , 0.99),
58
  ("The testing testing testing", None),
59
  ("over", 0.6),
60
  ("the", 0.2),
 
38
  # np.flipud(im1) if im1 is not None else os.path.join(os.path.dirname(__file__), "files/cheetah1.jpg"), # Image
39
  # video if video is not None else os.path.join(os.path.dirname(__file__), "files/world.mp4"), # Video
40
  [
41
+ ( datasetLOINC.filter(lambda example: example["Description"].startswith("Mental") ),
 
42
  ("The", "art"),
43
  ("quick brown", "adj"),
44
  ("fox", "nn"),
 
52
  (".", "punc"),
53
  ] + [(f"test {x}", f"test {x}") for x in range(10)], # HighlightedText
54
  [
55
+ ( datasetLOINC.filter(lambda example: example["Description"].startswith("Mental") , 0.99),
 
56
  ("The testing testing testing", None),
57
  ("over", 0.6),
58
  ("the", 0.2),