awacke1 commited on
Commit
69d9579
·
1 Parent(s): 9dc6d97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -38,7 +38,6 @@ 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
- ( datasetLOINC.filter(lambda example: example["Description"].startswith("Mental" )),
42
  ("The", "art"),
43
  ("quick brown", "adj"),
44
  ("fox", "nn"),
@@ -52,7 +51,6 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
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),
@@ -61,6 +59,7 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
61
  ("dogs", 0.4),
62
  (".", 0),
63
  ] + [(f"test", x / 10) for x in range(-10, 10)], # HighlightedText
 
64
  json.loads(JSONOBJ), # JSON
65
  "<button style='background-color: red'>Click Me: " + radio + "</button>", # HTML
66
  os.path.join(os.path.dirname(__file__), "files/titanic.csv"),
 
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
  ("The", "art"),
42
  ("quick brown", "adj"),
43
  ("fox", "nn"),
 
51
  (".", "punc"),
52
  ] + [(f"test {x}", f"test {x}") for x in range(10)], # HighlightedText
53
  [
 
54
  ("The testing testing testing", None),
55
  ("over", 0.6),
56
  ("the", 0.2),
 
59
  ("dogs", 0.4),
60
  (".", 0),
61
  ] + [(f"test", x / 10) for x in range(-10, 10)], # HighlightedText
62
+
63
  json.loads(JSONOBJ), # JSON
64
  "<button style='background-color: red'>Click Me: " + radio + "</button>", # HTML
65
  os.path.join(os.path.dirname(__file__), "files/titanic.csv"),