Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -111,10 +111,10 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
|
|
111 |
# np.flipud(im1) if im1 is not None else os.path.join(os.path.dirname(__file__), "files/cheetah1.jpg"), # Image
|
112 |
# video if video is not None else os.path.join(os.path.dirname(__file__), "files/world.mp4"), # Video
|
113 |
[
|
114 |
-
(JSONOBJ, "nn"),
|
115 |
-
(JSONOBJ, "nn" ),
|
116 |
-
(JSONOBJ, "nn" ),
|
117 |
-
(searchTerm, "vrb"),
|
118 |
("The", "art"),
|
119 |
("quick brown", "adj"),
|
120 |
("fox", "nn"),
|
@@ -128,9 +128,9 @@ def fn( text1, text2, single_checkbox, checkboxes, radio, im4,
|
|
128 |
(".", "punc"),
|
129 |
] + [(f"test {x}", f"test {x}") for x in range(10)], # HighlightedText
|
130 |
[
|
131 |
-
(JSONOBJ, 0.8 ),
|
132 |
-
(JSONOBJ, 0.8 ),
|
133 |
-
(JSONOBJ, 0.8 ),
|
134 |
("The testing testing testing", None),
|
135 |
("over", 0.6),
|
136 |
("the", 0.2),
|
|
|
111 |
# np.flipud(im1) if im1 is not None else os.path.join(os.path.dirname(__file__), "files/cheetah1.jpg"), # Image
|
112 |
# video if video is not None else os.path.join(os.path.dirname(__file__), "files/world.mp4"), # Video
|
113 |
[
|
114 |
+
#(JSONOBJ, "nn"),
|
115 |
+
#(JSONOBJ, "nn" ),
|
116 |
+
#(JSONOBJ, "nn" ),
|
117 |
+
#(searchTerm, "vrb"),
|
118 |
("The", "art"),
|
119 |
("quick brown", "adj"),
|
120 |
("fox", "nn"),
|
|
|
128 |
(".", "punc"),
|
129 |
] + [(f"test {x}", f"test {x}") for x in range(10)], # HighlightedText
|
130 |
[
|
131 |
+
#(JSONOBJ, 0.8 ),
|
132 |
+
#(JSONOBJ, 0.8 ),
|
133 |
+
#(JSONOBJ, 0.8 ),
|
134 |
("The testing testing testing", None),
|
135 |
("over", 0.6),
|
136 |
("the", 0.2),
|