Update app.py
Browse files
app.py
CHANGED
|
@@ -164,8 +164,10 @@ iface = gr.Interface(
|
|
| 164 |
fn=all,
|
| 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 |
-
|
|
|
|
|
|
|
| 169 |
gr.Label(label="Internal Detail Count"),
|
| 170 |
gr.Label(label="External Detail Count"),
|
| 171 |
gr.Label(label="Approximated Internal Detail Ratio")
|
|
|
|
| 164 |
fn=all,
|
| 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={"EXTERNAL": "red", "INTERNAL": "green"}),
|
| 169 |
+
gr.HighlightedText(label="Extended Sequence Classification",
|
| 170 |
+
color_map={"+": "red", "-": "green"}),
|
| 171 |
gr.Label(label="Internal Detail Count"),
|
| 172 |
gr.Label(label="External Detail Count"),
|
| 173 |
gr.Label(label="Approximated Internal Detail Ratio")
|