Update app.py
Browse files
app.py
CHANGED
|
@@ -165,20 +165,20 @@ iface = gr.Interface(
|
|
| 165 |
inputs=gr.Textbox(lines=5, label="Input Text",placeholder="Write about how your breakfast went or anything else that happend or might happen to you ..."),
|
| 166 |
outputs=[
|
| 167 |
gr.HighlightedText(label="Binary Sequence Classification",
|
| 168 |
-
color_map={
|
| 169 |
-
"EXTERNAL": "#6ad5bcff",
|
| 170 |
-
"INTERNAL": "#ee8bacff"}),
|
| 171 |
-
gr.HighlightedText(label="Extended Sequence Classification",
|
| 172 |
#color_map={
|
| 173 |
-
# "
|
| 174 |
-
# "
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
),
|
| 183 |
gr.Label(label="Internal Detail Count"),
|
| 184 |
gr.Label(label="External Detail Count"),
|
|
|
|
| 165 |
inputs=gr.Textbox(lines=5, label="Input Text",placeholder="Write about how your breakfast went or anything else that happend or might happen to you ..."),
|
| 166 |
outputs=[
|
| 167 |
gr.HighlightedText(label="Binary Sequence Classification",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
#color_map={
|
| 169 |
+
# "EXTERNAL": "#6ad5bcff",
|
| 170 |
+
# "INTERNAL": "#ee8bacff"}),
|
| 171 |
+
gr.HighlightedText(label="Extended Sequence Classification",
|
| 172 |
+
color_map={
|
| 173 |
+
"INTemothou": "#c27ba0",
|
| 174 |
+
"INTpercept": "#cc4125",
|
| 175 |
+
"INTtime": "#e06f66",
|
| 176 |
+
"INTplace": "#e69138",
|
| 177 |
+
"INTevent": "#ee8bacff",
|
| 178 |
+
"EXTsemantic": "#6ad5bc",
|
| 179 |
+
"EXTrepetition": "#11aeb8",
|
| 180 |
+
"EXTother": "#24aaad",
|
| 181 |
+
}
|
| 182 |
),
|
| 183 |
gr.Label(label="Internal Detail Count"),
|
| 184 |
gr.Label(label="External Detail Count"),
|