kleinay commited on
Commit
c5c442e
1 Parent(s): 70e3766

update examples

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,7 +14,8 @@ 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 construction of the officer 's building finished right after the beginning of the destruction of the previous construction .", True, 0.7]]
 
18
 
19
  def call(sentence: str, return_all_candidates: bool, threshold: float):
20
  ret = detector([sentence], return_all_candidates, True, threshold)[0]
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.8],
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):
21
  ret = detector([sentence], return_all_candidates, True, threshold)[0]