Spaces:
Runtime error
Runtime error
update examples
Browse files
app.py
CHANGED
@@ -7,11 +7,11 @@ pipeline = QASemEndToEndPipeline()
|
|
7 |
|
8 |
description = f"""This is a demo of the QASem Parsing pipeline. It wraps models of three QA-based semantic tasks, composing a comprehensive semi-structured representation of sentence meaning - covering verbal and nominal semantic role labeling together with discourse relations."""
|
9 |
title="QASem Parsing Demo"
|
10 |
-
examples = [["
|
11 |
-
["
|
|
|
12 |
["The Veterinary student was interested in Luke 's treatment of sea animals .", 0.7],
|
13 |
-
["
|
14 |
-
["Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.5]]
|
15 |
|
16 |
|
17 |
input_sent_box_label = "Insert sentence here, or select from the examples below"
|
|
|
7 |
|
8 |
description = f"""This is a demo of the QASem Parsing pipeline. It wraps models of three QA-based semantic tasks, composing a comprehensive semi-structured representation of sentence meaning - covering verbal and nominal semantic role labeling together with discourse relations."""
|
9 |
title="QASem Parsing Demo"
|
10 |
+
examples = [["Both were shot in the confrontation with police and have been recovering in hospital since the attack .", 0.75],
|
11 |
+
["the construction of the officer 's building was delayed by the lockdown and is expected to continue for at least 10 more months.", 0.7],
|
12 |
+
["The doctor asked about the progress in Luke 's treatment .", 0.75],
|
13 |
["The Veterinary student was interested in Luke 's treatment of sea animals .", 0.7],
|
14 |
+
["Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.6]]
|
|
|
15 |
|
16 |
|
17 |
input_sent_box_label = "Insert sentence here, or select from the examples below"
|