Spaces:
Runtime error
Runtime error
add / change examples
Browse files
app.py
CHANGED
@@ -10,9 +10,11 @@ pipelines = {model: QANomEndToEndPipeline(model) for model in models}
|
|
10 |
|
11 |
description = f"""This is a demo of the full QANom Pipeline - identifying deverbal nominalizations and parsing them with question-answer driven semantic role labeling (QASRL) """
|
12 |
title="QANom End-to-End Pipeline Demo"
|
13 |
-
examples = [[models[
|
14 |
-
[models[1], "The
|
15 |
-
[models[
|
|
|
|
|
16 |
|
17 |
input_sent_box_label = "Insert sentence here, or select from the examples below"
|
18 |
links = """<p style='text-align: center'>
|
|
|
10 |
|
11 |
description = f"""This is a demo of the full QANom Pipeline - identifying deverbal nominalizations and parsing them with question-answer driven semantic role labeling (QASRL) """
|
12 |
title="QANom End-to-End Pipeline Demo"
|
13 |
+
examples = [[models[1], "the construction of the officer 's building finished right after the beginning of the destruction of the previous construction .", 0.7],
|
14 |
+
[models[1], "The doctor asked about the progress in Luke 's treatment .", 0.75],
|
15 |
+
[models[0], "The Veterinary student was interested in Luke 's treatment of sea animals .", 0.75],
|
16 |
+
[models[1], "Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.5]]
|
17 |
+
|
18 |
|
19 |
input_sent_box_label = "Insert sentence here, or select from the examples below"
|
20 |
links = """<p style='text-align: center'>
|