Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ links = """<p style='text-align: center'>
|
|
14 |
<a href='https://www.aclweb.org/anthology/2020.coling-main.274/' target='_blank'>QANom Paper</a>
|
15 |
</p>"""
|
16 |
examples = [["The doctor was interested in Luke 's treatment .", True, 0.5],
|
17 |
-
["The description of the horse 's jump provided a surprise to the owner and a show of the skill of the trainer .", True, 0.
|
18 |
["The construction of the officer 's building finished right after the beginning of the destruction of the previous construction .", True, 0.75]]
|
19 |
|
20 |
def call(sentence: str, return_all_candidates: bool, threshold: float):
|
|
|
14 |
<a href='https://www.aclweb.org/anthology/2020.coling-main.274/' target='_blank'>QANom Paper</a>
|
15 |
</p>"""
|
16 |
examples = [["The doctor was interested in Luke 's treatment .", True, 0.5],
|
17 |
+
["The description of the horse 's jump provided a surprise to the owner and a show of the skill of the trainer .", True, 0.5],
|
18 |
["The construction of the officer 's building finished right after the beginning of the destruction of the previous construction .", True, 0.75]]
|
19 |
|
20 |
def call(sentence: str, return_all_candidates: bool, threshold: float):
|