Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ pipeline = QASRL_Pipeline(model)
|
|
5 |
|
6 |
description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task."""
|
7 |
title="QANom Parser Demo"
|
8 |
-
examples = [["The doctor was interested in Luke 's <
|
9 |
-
["The Veterinary student was interested in Luke 's <
|
10 |
input_sent_box_label = "Insert sentence here. Mark the predicate by adding the token '<p>' before it."
|
11 |
|
12 |
links = """<p style='text-align: center'>
|
|
|
5 |
|
6 |
description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task."""
|
7 |
title="QANom Parser Demo"
|
8 |
+
examples = [["The doctor was interested in Luke 's <p> treatment .", True, "treat"],
|
9 |
+
["The Veterinary student was interested in Luke 's <p> treatment of sea animals .", True, "treat"]]
|
10 |
input_sent_box_label = "Insert sentence here. Mark the predicate by adding the token '<p>' before it."
|
11 |
|
12 |
links = """<p style='text-align: center'>
|