Spaces:
Runtime error
Runtime error
fix examples
Browse files
app.py
CHANGED
|
@@ -8,8 +8,8 @@ pipelines = {model: QASRL_Pipeline(model) for model in models}
|
|
| 8 |
|
| 9 |
description = f"""This is a demo of our QASRL\QANom models, which fine-tuned Seq2Seq pretrained models on the QASRL\QANom task."""
|
| 10 |
title="QANom Parser Demo"
|
| 11 |
-
examples = [["The doctor was interested in Luke 's <predicate> treatment .", True, "treat"],
|
| 12 |
-
["The Veterinary student was interested in Luke 's <predicate> treatment of sea animals .", True, "treat"]]
|
| 13 |
input_sent_box_label = "Insert sentence here. Mark the predicate by adding the token '<predicate>' before it."
|
| 14 |
links = """<p style='text-align: center'>
|
| 15 |
<a href='https://www.qasrl.org' target='_blank'>QASRL Website</a> |
|
|
|
|
| 8 |
|
| 9 |
description = f"""This is a demo of our QASRL\QANom models, which fine-tuned Seq2Seq pretrained models on the QASRL\QANom task."""
|
| 10 |
title="QANom Parser Demo"
|
| 11 |
+
examples = [[models[0], "The doctor was interested in Luke 's <predicate> treatment .", True, "treat"],
|
| 12 |
+
[models[0], "The Veterinary student was interested in Luke 's <predicate> treatment of sea animals .", True, "treat"]]
|
| 13 |
input_sent_box_label = "Insert sentence here. Mark the predicate by adding the token '<predicate>' before it."
|
| 14 |
links = """<p style='text-align: center'>
|
| 15 |
<a href='https://www.qasrl.org' target='_blank'>QASRL Website</a> |
|